ApiSessionCreateZoneRect Method (ObjectProxy, String, Rect) |
Creates a new rectangular zone inside a location.
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public ObjectProxy CreateZoneRect(
ObjectProxy aParent,
string aDisplayName,
Rect aRect
)
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 - aRect
- Type: System.WindowsRect
the coordinates of the new zone inside its location
Return Value
Type:
ObjectProxythe 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