SetIdentity Method

Structured Graphics Control

Sets the shape to its original settings.

Syntax

ScriptingSGObj.SetIdentity( )

Remarks

Use the SetIdentity method to ensure that your shapes are at their initial position, size and orientation when your page loads by using the window_onload event.

Example

The following example demonstrates how window_onload is used to initialize the structured graphic SG1.

Sub window_onload()
call SG1.SetIdentity()
End Sub

When SetIdentity is next called, it clears all transforms and returns the shape to its initial settings.


Top of Page Top of Page
© 2000 Microsoft and/or its suppliers. All rights reserved. Terms of Use.