SaveQDFToFile
Debugging, Document manipulation
Opis
Uloží aktuálny dokument ako ľahko editovateľné diagnostické PDF QDF
Výstup používa čitateľné formátovanie objektov, expanduje bežné Flate content streamy, predvolene zaznamenáva pôvodné identifikátory objektov a ukladá každú dĺžku streamu do nezávislého nepriameho objektu, takže neskoršie úpravy možno opraviť
Syntax
Delphi
Function TPDFlib.SaveQDFToFile(Const FileName: WideString; Options: Integer= 0): Integer;DLL
int DLSaveQDFToFile(int InstanceID, const wchar_t* FileName, int Options);ActiveX
Function PDFlib::SaveQDFToFile(FileName As String, Options As Long) As LongParametre
| FileName | The destination PDF 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 document could not be converted or the output could not be written |
Poznámky
Image streamy, streamy založené na predictore, multi-filter streamy a neznáme kódovania zostávajú zakódované, aby sa zachoval ich binárny obsah
Use RepairQDFFile after editing stream bytes or changing object positions