Table of Contents

Property BitsPerComponent

Namespace
BitMiracle.Docotic.Pdf
Assembly
BitMiracle.Docotic.Pdf.dll

BitsPerComponent

Gets the number of bits used to describe each color component of this PdfImage.

public int BitsPerComponent { get; }

Property Value

int

The number of bits used to describe each color component of this PdfImage.

Exceptions

UnexpectedStructureException

The internal PDF structure does not contain the corresponding value but the value is required because of the presence or absence of other values. Or the value exists, but has an unexpected type.

PdfException

The image is a mask (IsMask is true) and the value is not equal to 1.