Debenu Quick PDF logo

LinearizeFile

Document manipulation, Miscellaneous functions

Version history

This function was introduced in Quick PDF Library version 11.11.

Description

Linearizes the specified PDF file for fast web view.

Syntax

Delphi

function TDebenuPDFLibrary1511.LinearizeFile(InputFileName, Password, 
  OutputFileName: WideString; Options: Integer): Integer;

ActiveX

Function DebenuPDFLibrary1511.PDFLibrary::LinearizeFile(InputFileName As String,
  Password As String, OutputFileName As String, Options As Long) As Long

DLL

int DPLLinearizeFile(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
4 Input PDF password incorrect
5 Could not write output file

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport