Click or drag to resize

PdfiumFPDFAvail_IsLinearized Method

To check whether a document is Linearized PDF file.

Namespace: Patagames.Pdf
Assembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntax
public static IsLinearizedResults FPDFAvail_IsLinearized(
	IntPtr avail
)

Parameters

avail  IntPtr
Handle to document availability provider returned by FPDFAvail_Create(FX_FILEAVAIL, FPDF_FILEACCESS)

Return Value

IsLinearizedResults
IsLinearized is a linearize file. NotLinearized is not a linearize file. UnknownLinearized don't know whether the file is a linearize file.
Remarks
return IsLinearized means the document is linearized PDF else not. It return IsLinearized/NotLinearized state as soon as we have first 1K data. If the file's size less than 1K,we don't known whether the PDF is a linearized file.
See Also