Click or drag to resize

ObjGetBuffer Method

Gets the buffer of this Obj.

Namespace:  pdftron.SDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public byte[] GetBuffer()

Return Value

Type: Byte
A pointer to the string buffer. Please note that the string may not be NULL terminated and that it may not be represented in ASCII or Unicode encoding. For more information on SDF/Cos String objects, please refer to section 3.2.3 'String Objects' in PDF Reference Manual.
Remarks
If SDF/Cos String object is represented as 'PDF Text'(Section 3.8.1 'Text Strings' in PDF Reference) you can use GetAsPDFText method to obtain Unicode representation of the string. Use Size() member function in order to obtain the number of bytes in string buffer.
See Also