Resets to the identity.

 

   

Syntax
 

XTransform.Reset

 

   

Params
 
Name Type Description
None    

 

   

Notes
 

This method resets the transform to it's original state. This state is known as the identity and indicates that no transformation will be applied.

 

   

Example
 

Here, we add some text rotated at 60 degrees around the middle of the document. We then reset the transform and draw some more text. This text is drawn with no rotation because the transform has been reset.

Set theDoc = Server.CreateObject("ABCpdf10.Doc")
theDoc.Rect.Inset 10, 10
theDoc.FontSize = 96
theDoc.Transform.Rotate 60, 302, 396
theDoc.Pos = "302 396"
theDoc.AddText "Angled"
theDoc.FrameRect
theDoc.Transform.Reset
theDoc.Pos = "302 396"
theDoc.AddText "Reset"
theDoc.FrameRect
theDoc.Save "c:\mypdfs\transformreset.pdf"


transformreset.pdf