ConvertFileToQDF

Debugging, Document manipulation

Opis

Konvertuje PDF súbor priamo na ľahko editovateľné diagnostické PDF QDF

Konverzia expanduje object streamy, po úspešnej autentizácii odstráni šifrovanie, naformátuje objekty na editáciu a dekóduje bežné Flate content streamy

Syntax

Delphi

Function TPDFlib.ConvertFileToQDF(Const InputFileName, Password, OutputFileName: WideString; Options: Integer= 0): Integer;

DLL

int DLConvertFileToQDF(int InstanceID, const wchar_t* InputFileName, const wchar_t* Password, const wchar_t* OutputFileName, int Options);

ActiveX

Function PDFlib::ConvertFileToQDF(InputFileName As String, Password As String, OutputFileName As String, Options As Long) As Long

Parametre

InputFileNameThe PDF file to convert
PasswordThe password for an encrypted input or an empty string
OutputFileNameThe destination QDF PDF path, which may be identical to the input path
OptionsZero for default output or PDF_QDF_OMIT_ORIGINAL_OBJECT_IDS to omit original object identifier comments

Návratové hodnoty

1The QDF file was written
0The source could not be loaded or the destination could not be written

Poznámky

Zdrojové bajty sa uchovajú skôr, než sa otvorí cieľ, takže identické vstupné a výstupné cesty sú bezpečné