LinearizeFile
Document manipulation, Miscellaneous functions
Description
Linearizes the specified PDF file for fast web view.
Syntax
Delphi
function TPDFlib.LinearizeFile(Const InputFileName, Password, OutputFileName: WideString; Options: Integer): Integer;ActiveX
Function PDFlib::LinearizeFile(InputFileName As String, Password As String, OutputFileName As String, Options As Long) As LongDLL
int DLLinearizeFile(int InstanceID, wchar_t * InputFileName, wchar_t * Password, wchar_t * OutputFileName, int Options);Parameters
| InputFileName | The path and file name of the input PDF to transform. |
|---|---|
| Password | The optional password to open the input PDF if it is encrypted |
| OutputFileName | The path and file name of the signed PDF that should be created. This should be different to InputFileName. |
| Options | Reserved for future use, should be set to zero. |
Return values
| 1 | Success |
|---|---|
| 2 Input PDF not found 3 Input PDF cannot be read Input PDF password incorrect 4 5 Could not write output file |