Click or drag to resize

ElementBuilderCreateUnicodeTextRun Method (String, Font, Double)

Create a new Unicode text run.

Namespace:  pdftron.PDF
Assembly:  pdftron (in pdftron.dll) Version: 255.255.255.255
Syntax
public Element CreateUnicodeTextRun(
	string text_data,
	Font font,
	double font_sz
)

Parameters

text_data
Type: SystemString
the text_data
font
Type: pdftron.PDFFont
font for the text run
font_sz
Type: SystemDouble
size of the font

Return Value

Type: Element
the element
Remarks
you must set the current Font and font size before calling this function and the font must be created using Font::CreateCIDTrueTypeFont() method. a text run can be created only within a text block
See Also