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 LongParametre
| InputFileName | The PDF file to convert |
|---|---|
| Password | The password for an encrypted input or an empty string |
| OutputFileName | The destination QDF PDF path, which may be identical to the input path |
| Options | Zero for default output or PDF_QDF_OMIT_ORIGINAL_OBJECT_IDS to omit original object identifier comments |
Návratové hodnoty
| 1 | The QDF file was written |
|---|---|
| 0 | The 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é