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)
Parameter Type Description
pinX Double Specifies the x-coordinate of the text’s pin (center of rotation) in relation to the page.
pinY Double Specifies the y-coordinate of the text’s pin (center of rotation) in relation to the page.
width Double Specifies the width of the text.
height Double Specifies the height of the text.
text String text string.
fontName String text font name.
fontColor String text font color.
size Double text 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)
Parameter Description
pinX Specifies the x-coordinate of the text’s pin (center of rotation) in relation to the page.
pinY Specifies the y-coordinate of the text’s pin (center of rotation) in relation to the page.
text text string.

Return Value

Returns a shape object that represents the new text object.

See Also