Click or drag to resize

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

Creates a new spherical zone inside a location.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateZoneCircle(
	ulong aParentId,
	string aDisplayName,
	string aTemplateTechName,
	Point aCenter,
	double aRadius
)

Parameters

aParentId
Type: SystemUInt64
the ID of the location or location group object that should serve as parent for the new created zone
aDisplayName
Type: SystemString
the display name of the to-be-created zone
aTemplateTechName
Type: SystemString
the technical name of a template, that will be assigned to the to-be-created zone or null to create without assigning a template
aCenter
Type: System.WindowsPoint
the coordinate of center point of the to-be-created zone
aRadius
Type: SystemDouble
the radius of the to-be-created zone

Return Value

Type: ObjectProxy
the freshly created object; use this return value to further initialize the properties of the new zone
Remarks
All coordinates are screen/pixel coordinates of the location's underlying background image.
See Also