Click or drag to resize

ApiSessionCreateZoneCircle Method (ObjectProxy, 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(
	ObjectProxy aParent,
	string aDisplayName,
	Point aCenter,
	double aRadius
)

Parameters

aParent
Type: Articy.ApiObjectProxy
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
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