Click or drag to resize
Pdftools logo

ImageBitsPerComponent Property

The number of bits per component.

The number of bits used to represent each color component. Only a single value may be specified; the number of bits is the same for all color components. Valid values are 1, 2, 4, and 8.

Namespace: PdfTools.Toolbox.Pdf.Content
Assembly: PdfTools.Toolbox (in PdfTools.Toolbox.dll) Version: 1.5.0+4edba55c604d55d1acd3b42825576b5d5e0943f1
Syntax
C#
public int BitsPerComponent { get; }

Property Value

Int32
Exceptions
ExceptionCondition
InvalidOperationExceptionif the image has already been closed
See Also