Click or drag to resize

PdfStreamDecodedLength Property

(Optional; PDF 1.5) A non-negative Int32 representing the number of bytes in the decoded (defiltered) PdfStream. It can be used to determine, for example, whether enough disk space is available to write a PdfStream to a file.

This value shall be considered a hint only; for some stream filters, it may not be possible to determine this value precisely.

Namespace:  GemBox.Pdf.Objects
Assembly:  GemBox.Pdf (in GemBox.Pdf.dll) Version: 13.0.35.1000
Syntax
public Nullable<int> DecodedLength { get; }

Property Value

Type: NullableInt32
A non-negative Int32 representing the number of bytes in the decoded (defiltered) PdfStream.
Exceptions
ExceptionCondition
ArgumentOutOfRangeExceptionValue is less than zero.
InvalidPdfDictionaryEntryExceptionValue is not according to PDF Specification ISO 32000-1:2008.
See Also