Click or drag to resize

DIMcImageSetTemplateEventsBeforeAdd Method

Event fired before a new set is created by McImageSetTemplates.Add.

Namespace:  MediaCy.IQL.Sets
Assembly:  MediaCy.IQL.Sets (in MediaCy.IQL.Sets.dll) Version: 10.0.6912.0
Syntax
VB
Sub BeforeAdd ( 
	Name As String,
	<OutAttribute> ByRef pNewSetTemplate As McImageSetTemplate,
	<OutAttribute> ByRef bCancel As Boolean
)

Parameters

Name
Type: SystemString
Name of the new set.
pNewSetTemplate
Type: MediaCy.IQL.SetsMcImageSetTemplate
bCancel
Type: SystemBoolean
If assigned True by the event handler, then the ImageSet returned by the event handler is used as the return value for the McImageSetTemplates.Add method.
Remarks
This event could be used to display a "New Set" dialog. Note that completion of the Add operation results in a PropertyChanged event on the collection's Count property.
See Also