Object ProxyMay Insert Attachment Into Strip Method
Checks if the specified attachment is allowed to by inserted into the specified reference strip
Definition
Namespace: Articy.Api
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
True if inserting is allowed.
Assembly: QueryLayer (in QueryLayer.dll) Version: 1.0.0
C#
public bool MayInsertAttachmentIntoStrip(
string aPropertyName,
ObjectProxy aAttachment,
int aIndex
)Parameters
- aPropertyName String
- the name of the reference strip type property
- aAttachment ObjectProxy
- the attachment object to insert
- aIndex Int32
- 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
BooleanTrue if inserting is allowed.
Remarks
The class ObjectPropertyNames contains string constants for the property names of the various articy object types.