Switches the graphic to the first graphic in the Z-order of the class graphic file. | |
Syntax: | object.SwitchToFirstGraphic |
Description: | The SwitchToFirstGraphic method switches
the graphic to the first named graphic in the Z-order of the class
graphic file. If the current graphic file can not be found this
method does nothing. Example: Sub TestClass Dim cimScreen As
GefObjectModel.GefScreen Set cimScreen = CimGetScreen() Dim cimClassObj As
GefObjectModel.GefObject Set cimClassObj =
cimScreen.Object.Objects.Item("TestClass") cimClassObj.ClassFormat.SwitchToFirstGraphic cimScreen.Refresh False End Sub |
See Also: | GraphicIndex , GraphicCount , SwitchToNextGraphic , SwitchToPreviousGraphic , SwitchToNextGraphic , SwitchToPreviousGraphic |