VintaSoft Barcode .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / VintasoftBitmap Class / MaxBitmapSize Property
Syntax Remarks Requirements SeeAlso
In This Topic
    MaxBitmapSize Property (VintasoftBitmap)
    In This Topic
    Gets or sets the maximum size of the bitmap, in bytes.
    Syntax
    'Declaration
    
    Public Shared Property MaxBitmapSize As Long
    
    
    public static long MaxBitmapSize { get; set; }
    
    
    public: __property static long get_MaxBitmapSize();
    public: __property static void set_MaxBitmapSize(
    long value
    );
    public:
    static property long MaxBitmapSize { long get(); void set(long value); }

    Property Value

    Available values:
    0 - size of bitmap is unlimited;
    greater than 0 - maximum size of bitmap that SDK can create.
    Default value is 0.
    Remarks

    SDK will throw an BitmapSizeLimitException if MaxBitmapSize is greater than 0 and SDK need to create bitmap with size greater than MaxBitmapSize.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7, .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5

    See Also