Switches the graphic to the previous graphic in the Z-order of the class graphic file. | |
Syntax: | object.SwitchToPreviousGraphic |
Description: | The SwitchToPreviousGraphic method switches
the graphic to the previous named graphic in the Z-order of the
class graphic file. If the current graphic is the first graphic it
will wrap around to the last named graphic. If the current graphic
is invalid it sets it to the last named graphic. 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.SwitchToPreviousGraphic cimScreen.Refresh False End Sub |
See Also: | GraphicIndex , GraphicCount , SwitchToNextGraphic , SwitchToFirstGraphic , SwitchToNextGraphic , SwitchToPreviousGraphic |