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("ABCpdf11.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
|