SetObjectFromVariant

Miscellaneous functions

Description

Sets the raw PDF object data for the specified object number from a variant byte array. This is for advanced use only.

Syntax

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.

NewValue

The raw PDF object data to associate with the specified object.

Return values

0The ObjectNumber parameter was out of bounds.
1The specified object was updated successfully.