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.0.0+fdabb036503e9f99735634a6d4f5be875399e9f5
Syntax
C#
public int BitsPerComponent { get; }

Property Value

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