ApiSessionCreateLocationText Method (ObjectProxy, Point, String, Double, Double) |
Creates a new text inside a location.
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public ObjectProxy CreateLocationText(
ObjectProxy aParent,
Point aTopLeft,
string aText,
double aWidth,
double aHeight
)
Parameters
- aParent
- Type: Articy.ApiObjectProxy
the location or location group object that should serve as parent for the new created text - aTopLeft
- Type: System.WindowsPoint
The upper left corner of the text - aText
- Type: SystemString
The plain text of the text element - aWidth
- Type: SystemDouble
The width of the text object - aHeight
- Type: SystemDouble
The height of the text object
Return Value
Type:
ObjectProxythe freshly created object; use this return value to further initialize the properties of the new text
Remarks All coordinates are screen/world/pixel
See Also