Click or drag to resize

ObjSize Method

Gets the size of this Obj.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public int Size()

Return Value

Type: Int32
The 'size' of the object. The definition of 'size' depends on the object type. In particular:
  • For a Dictionary or a Stream object, the method will return the number of key/value pairs in the dictionary.
  • For an Array object the method will return the number of Obj enties in the Array.
  • For a String object the method will return the number of bytes in the String buffer.
  • For any other object the method will always return 1.
Remarks
This method can be invoked on any Obj.
See Also