Debenu Quick PDF logo


Document management, Direct access functionality

Version history

This function was introduced in Quick PDF Library version 9.15.


Returns a value to determine if the source PDF was malformed due to byte shifting. For example, leading whitespace added to the file.

In such a case the file will be loaded taking this offset into account. This function will return a non-zero number indicating the number of bytes the file was shifted by.

Note that if the file is loaded this way it will not be possible to use the DAAppendFile function to add an incremental update.



function TDebenuPDFLibrary1511.DAShiftedHeader(FileHandle: Integer): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::DAShiftedHeader(FileHandle As Long) As Long


int DPLDAShiftedHeader(int InstanceID, int FileHandle)


FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions

Return values

0 The file was loaded as usual
Non-zero The number of bytes the file was shifted by

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport