A new McImageType instance holding the given type or a duplicate of this type if the given type is empty or missing.
Syntax
object.DuplicateGivenType([vImageType])
The DuplicateGivenType Method syntax has these parts:
Part
Description
object
An expression evaluating to an object of type McImageType.
vImageType
Optional. A Variant value.
VARIANT : A type VARIANT may be empty or missing, in which case a copy of this McImageType is created. Or it may be a mcImageQuickTypes. Or it may be an McImageType instance.
Remarks
This method allows you to make the standard conversion from a type VARIANT to an McImageType instance. The given type VARIANT may be empty or missing, in which case an independent duplicate of this McImageType is created. Or it may be a mcImageQuickTypes value (a QuickType). Or it may be an McImageType instance (in which case a copy of that McImageType is returned).