|
The following code modifies the page transform and then adds a
grid to show how the transform has affected the page.
[C#]
Doc theDoc = new Doc();
theDoc.Page = theDoc.AddPage();
theDoc.Transform.Rotate(20, 100, 100);
theDoc.AddGrid();
theDoc.Save(Server.MapPath("docaddgrid.pdf"));
theDoc.Clear();
[Visual Basic]
Dim theDoc As Doc = New Doc()
theDoc.Page = theDoc.AddPage()
theDoc.Transform.Rotate(20, 100, 100)
theDoc.AddGrid()
theDoc.Save(Server.MapPath("docaddgrid.pdf"))
theDoc.Clear()

docaddgrid.pdf
|