Click or drag to resize

ApiSessionCreateLocationImage Method (UInt64, String, Point, UInt64, String)

Creates a new image inside a location.

Namespace:  Articy.Api
Assembly:  ArticyApp (in ArticyApp.dll) Version: 1.0.0
Syntax
C#
public ObjectProxy CreateLocationImage(
	ulong aParentId,
	string aDisplayName,
	Point aTopLeft,
	ulong aImageAssetId,
	string aTemplateTechName
)

Parameters

aParentId
Type: SystemUInt64
the ID of 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
aImageAssetId
Type: SystemUInt64
the id of the image asset to be used
aTemplateTechName
Type: SystemString
the technical name of a template, that will be assigned to the to-be-created image or null to create without assigning a template

Return Value

Type: ObjectProxy
the 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