DIMcImageEvents_BeforeImportPropertiesEventHandler Delegate

Fired by McImage.ImportProperties before doing the property import

Namespace:  MediaCy.IQL.Engine
Assembly:  MediaCy.IQL.Engine (in MediaCy.IQL.Engine.dll) Version: 10.0.6912.0
Syntax
VB
Public Delegate Sub DIMcImageEvents_BeforeImportPropertiesEventHandler ( 
	Image As McImage,
	SourceImage As McImage,
	<OutAttribute> ByRef ImportFilter As mcImportPropertiesFlags
)

Parameters

Image
Type: MediaCy.IQL.EngineMcImage
The McImage into which properties are being imported.
SourceImage
Type: MediaCy.IQL.EngineMcImage
The McImage from which properties are being copied.
ImportFilter
Type: MediaCy.IQL.EnginemcImportPropertiesFlags
Flags specifying which properties are to be copied. On entry to the event, this argument will hold what was specified as the ImportFilter argument to the ImportProperties call. The event handler may change the flags to import a different set of properties. Setting ImportFilter to mcipfNone will cause no properties to be copied, and will result in no AfterImportProperties event being fired.
Remarks
This event is designed to give clients an opportunity to control what properties are copied from a source to a destination image, when they do not have access to the ImportProperties call. This situation occurs infrequently, however as most image creation methods supply a Flags argument that can hold mcImportPropertiesFlags bits. Note that this event will not be fired if the ImportProperties method is called with an ImportFilter argument with the mcipfNoEvent flag set.
See Also