Switches the graphic to the last graphic in the Z-order of the class graphic file. | |
Syntax: | object.SwitchToLastGraphic |
Description: | The SwitchToLastGraphic method switches the
graphic to the last 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.SwitchToLastGraphic cimScreen.Refresh False End Sub |
See Also: | GraphicIndex , GraphicCount , SwitchToNextGraphic , SwitchToPreviousGraphic , SwitchToFirstGraphic , SwitchToPreviousGraphic |