Debenu Quick PDF logo


Document properties, Direct access functionality


Sets values in the document information section. This could be standard information such as Author and Subject, or custom information.

For CreationDate and ModDate (modification date), the format of the date should be:



YYYY shall be the year

MM shall be the month (01-12)

DD shall be the day (01-31)

HH shall be the hour (00-23)

mm shall be the minute (00-59)

SS shall be the second (00-59)

O shall be the relationship of local time to Universal Time (UT) using a +, - or Z character

HH followed by APOSTROPHE (U+0027) (') shall be the absolute value of the offset from UT in hours (00-23)

mm followed by an optional APOSTROPHE (U+0027) (') shall be the absolute value of the offset from UT in minutes (00-59)



function TDebenuPDFLibrary1511.DASetInformation(FileHandle: Integer; Key, 
  NewValue: WideString): Integer;


Function DebenuPDFLibrary1511.PDFLibrary::DASetInformation(FileHandle As Long,
  Key As String, NewValue As String) As Long


int DPLDASetInformation(int InstanceID, int FileHandle, wchar_t * Key,
  wchar_t * NewValue)


FileHandle A handle returned by the DAOpenFile, DAOpenFileReadOnly or DAOpenFromStream functions
Key For standard information use "Author", "Title", "Subject", "Keywords", "Creator", "Producer", "CreationDate" or "ModDate". For custom information any other string can be used.
NewValue The new value for the specified key.

Return values

0 The specified FileHandle was not valid
1 The information key was set or updated successfully

Copyright © 2014 Debenu. All rights reserved. AboutContactBlogNewsletterSupport