Click or drag to resize

ObjectProxyMayInsertAttachmentIntoStrip Method

Checks if the specified attachment is allowed to by inserted into the specified reference strip

Namespace:  Articy.Api
Assembly:  QueryLayer (in QueryLayer.dll) Version: 1.0.0
Syntax
C#
public bool MayInsertAttachmentIntoStrip(
	string aPropertyName,
	ObjectProxy aAttachment,
	int aIndex
)

Parameters

aPropertyName
Type: SystemString
the name of the reference strip type property
aAttachment
Type: Articy.ApiObjectProxy
the attachment object to insert
aIndex
Type: SystemInt32
the new index of the to-be-inserted attachment; 0 means, the attachment becomes the new first (leftmost) attachment moving all other attachments to the right

Return Value

Type: Boolean
True if inserting is allowed.
Remarks
The class ObjectPropertyNames contains string constants for the property names of the various articy object types.
See Also