DAGetObjectToVariant

Miscellaneous functions, Direct access functionality

Description

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

Syntax

Parameters

FileHandle

A handle returned by the DAOpenFile, DAOpenFileReadOnly or

DAOpenFromStream functions

ObjectNumber

The number of the object to retrieve. The first object is numbered 1 and the last object has an object number equal to the result of the GetObjectCount function.