Click or drag to resize

ApiSessionCreateLocationText Method (UInt64, Point, String, Double, Double)

Creates a new text inside a location.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateLocationText(
	ulong aParentId,
	Point aTopLeft,
	string aText,
	double aWidth,
	double aHeight
)

Parameters

aParentId
Type: SystemUInt64
the ID of 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: ObjectProxy
the 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