SetObjectFromString
Miscellaneous functions
Description
Sets the raw PDF object data for the specified object number. This is for advanced use only.
Syntax
Delphi
function TPDFlib.SetObjectFromString(ObjectNumber: Integer; Const Source: AnsiString): Integer;ActiveX
Function PDFlib::SetObjectFromString(ObjectNumber As Long, Source As String) As LongDLL
int DLSetObjectFromString(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. The raw PDF object data to associate with the specified object. |
|---|---|
| Source |
Return values
| 0 | The ObjectNumber parameter was out of bounds. |
|---|---|
| 1 | The specified object was updated successfully. |