SetInformation
Description
Set the properties of the selected document.
Syntax
Delphi
function TQuickPDF0813.SetInformation(Key: Integer; NewValue: WideString): Integer;
ActiveX
Function QuickPDF0813.PDFLibrary::SetInformation(Key As Long,
NewValue As String) As Long
DLL
int QuickPDFSetInformation(int InstanceID, int Key, wchar_t * NewValue)
Parameters
| Key |
The property to set: 0 = PDF Version 1 = Author 2 = Title 3 = Subject 4 = Keywords 5 = Creator 6 = Producer |
| NewValue | The new value of the specified property. |
Return values
| 0 | The specified information could not be set. Use the LastErrorCode function to determine the reason for failure. |
| 1 | The specified information was set successfully |