Click or drag to resize

ElementSetTextData Method

GetTextString() maps the raw text directly into Unicode (as specified by Adobe Glyph List (AGL)). Even if you would prefer to decode text yourself it is more convenient to use CharIterators returned by CharBegin()/CharEnd() and PDF::Font code mapping methods.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public void SetTextData(
	byte[] text_data,
	int text_data_size
)

Parameters

text_data
Type: SystemByte
a pointer to a buffer containing text.
text_data_size
Type: SystemInt32
size of the Platform::Array
Remarks
the buffer owner is the current element (i.e. ElementReader or ElementBuilder). Set the text data for the current e_text Element.
See Also