SetObjectFromString
Version history
This function was renamed in Quick PDF Library version 8.11.
The function name in earlier versions was SetObjectSource.
Description
Sets the raw PDF object data for the specified object number. This is for advanced use only.
Syntax
Delphi
function TDebenuPDFLibrary0914.SetObjectFromString(ObjectNumber: Integer;
const Source: AnsiString): Integer;
ActiveX
This function is not available in the ActiveX edition
DLL
int DPLSetObjectFromString(int InstanceID, int ObjectNumber, char * Source)
Parameters
| ObjectNumber | The number of the object to update. The first object is numbered 1 and the last object has an object number equal to the result of the GetObjectCount function. |
| Source | The raw PDF object data to associate with the specified object. |
Return values
| 0 | The ObjectNumber parameter was out of bounds. |
| 1 | The specified object was updated successfully. |