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
)
Public Function CreateUnicodeTextRun (
text_data As String,
font As Font,
font_sz As Double
) As Element
public:
virtual Element^ CreateUnicodeTextRun(
[InAttribute] String^ text_data,
[InAttribute] Font^ font,
[InAttribute] double font_sz
) sealed
function CreateUnicodeTextRun(text_data, font, 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