VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Codecs.ImageFiles Namespace / ImagePage Class / BitsPerPixel Property
Syntax Requirements SeeAlso
In This Topic
    BitsPerPixel Property (ImagePage)
    In This Topic
    Gets the number of bits per pixel of the image page.
    Syntax
    'Declaration
    
    Public MustOverride ReadOnly Property BitsPerPixel As System.Int32
    
    
    public abstract System.Int32 BitsPerPixel { get; }
    
    
    public: __property abstract System.Int32 get_BitsPerPixel();
    
    
    
    public:
    abstract property System.Int32 BitsPerPixel { System.Int32 get(); }

    Property Value

    1 if image page represents 1-bpp black-white image.
    8 if image page represents 2/4/8-bpp palette/gray image (2- and 4-bpp image will be converted to 8-bpp image).
    24 if image page represents 24-bpp RGB image or 32-bpp CMYK image (32-bpp CMYK image will be converted to 24-bpp RGB image).
    32 if image page represents 32-bpp ARGB image.
    48 if image page represents 48-bpp RGB image.
    64 if image page represents 64-bpp ARGB image.
    Requirements

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

    See Also