IMcGraphOverlayImport Method
|
|
Import graphic object(s) from another overlay collection.
Namespace:
MediaCy.IQL.Display.Overlays
Assembly:
MediaCy.IQL.Display.Overlays (in MediaCy.IQL.Display.Overlays.dll) Version: 10.0.6912.0
SyntaxSub Import (
Object As Object
)
Parameters
- Object
- Type: SystemObject
Either a McGraphObj derived object or an McGraphOverlay object.
If a McGraphObj source, then it must be selectable (i.e., have its
McGraphObj.Style mcgsAllowSelect bit set; this bit can never be set
for McGraphObjGroup.GroupType=mgogtLightBox objects).
RemarksIf the Object argument is a McGraphOverlay instance, then all current
overlay properties, user-defined templates and graphic objects are removed and
replaced by properties, user templates and graphic objects copied from the
source overlay. The McGraphObj.ID values of the imported object(s) will be
preserved.
If the source Object is a graphic object derived from McGraphObj, then only this
object is imported. In this case, the imported object becomes the selected
object. If the source object has a label, then that is imported as well. For
selection groups (McGraphObjGroup.GroupType=mgogtSelection) all objects in the
selection group and their labels are imported (objects of
McGraphObjGroup.GroupType=mgogtLightBox cannot be imported). The McGraphObj.ID
of the imported object(s) will have changed.
See Also