 | PdfiumFPDFAvail_IsLinearized Method |
To check whether a document is Linearized PDF file.
Namespace: Patagames.PdfAssembly: Patagames.Pdf (in Patagames.Pdf.dll) Version: 4.94.2704
Syntaxpublic static IsLinearizedResults FPDFAvail_IsLinearized(
IntPtr avail
)
Public Shared Function FPDFAvail_IsLinearized (
avail As IntPtr
) As IsLinearizedResults
public:
static IsLinearizedResults FPDFAvail_IsLinearized(
IntPtr avail
)
static member FPDFAvail_IsLinearized :
avail : IntPtr -> IsLinearizedResults
public static IsLinearizedResults FPDFAvail_IsLinearized(
IntPtr avail
)
Patagames.Pdf.Pdfium.FPDFAvail_IsLinearized = function(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