Page.AddText

AddText(double, double, double, double, string, string, string, double)

Adds Text with defined PinX and PinY.

public Shape AddText(double pinX, double pinY, double width, double height, string text, 
    string fontName, string fontColor, double size)
ParameterTypeDescription
pinXDoubleSpecifies the x-coordinate of the text’s pin (center of rotation) in relation to the page.
pinYDoubleSpecifies the y-coordinate of the text’s pin (center of rotation) in relation to the page.
widthDoubleSpecifies the width of the text.
heightDoubleSpecifies the height of the text.
textStringtext string.
fontNameStringtext font name.
fontColorStringtext font color.
sizeDoubletext font size.

Return Value

Returns a shape object that represents the new text object.

See Also


AddText(double, double, double, double, string)

Adds Text with defined PinX and PinY.

public Shape AddText(double pinX, double pinY, double width, double height, string text)
ParameterDescription
pinXSpecifies the x-coordinate of the text’s pin (center of rotation) in relation to the page.
pinYSpecifies the y-coordinate of the text’s pin (center of rotation) in relation to the page.
texttext string.

Return Value

Returns a shape object that represents the new text object.

See Also