Description

Duplicates this type or a given VARIANT type into a new McImageType instance

Return Type

A McImageType object.  

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:

PartDescription
objectAn expression evaluating to an object of type McImageType.
vImageTypeOptional. 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).