ApiSessionCreateLocationImage Method (ObjectProxy, String, Point, ObjectProxy) |
Creates a new image inside a location.
Namespace:
Articy.Api
Assembly:
ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax public ObjectProxy CreateLocationImage(
ObjectProxy aParent,
string aDisplayName,
Point aTopLeft,
ObjectProxy aImageAsset
)
Parameters
- aParent
- Type: Articy.ApiObjectProxy
the reference to the location or location group object that should serve as parent for the new created image - aDisplayName
- Type: SystemString
the display name of the to-be-created image - aTopLeft
- Type: System.WindowsPoint
The upper left corner of the image - aImageAsset
- Type: Articy.ApiObjectProxy
the image asset to be used
Return Value
Type:
ObjectProxythe freshly created object; use this return value to further initialize the properties of the new image
Remarks All coordinates are screen/world/pixel
See Also