ImageGear v26.5 - Updated
ImageGear.Core Assembly / ImageGear.Formats Namespace / ImGearRasterSaveOptions Class / BitDepth Property




In This Topic
    BitDepth Property (ImGearRasterSaveOptions)
    In This Topic
    Gets or sets the bit depth.
    Syntax
    'Declaration
     
    Public Property BitDepth As Integer
    'Usage
     
    Dim instance As ImGearRasterSaveOptions
    Dim value As Integer
     
    instance.BitDepth = value
     
    value = instance.BitDepth
    public int BitDepth {get; set;}
    public: __property int get_BitDepth();
    public: __property void set_BitDepth( 
       int value
    );
    public:
    property int BitDepth {
       int get();
       void set (    int value);
    }

    Property Value

    Integer value.
    Remarks
    Value of 0 indicates that the vector page bit depth is not changed.

    The default value is 0.

    This parameter is only used when saving PDF pages to raster. The following non-default values are supported for PDF: 1, 8, 24 and 32.

    This parameter is ignored when saving Office or CAD/Vector pages to raster.

    See Also