The following code modifies the page transform and then adds a
grid to show how the transform has affected the page.
using var doc = new Doc();
doc.Page = doc.AddPage();
doc.Transform.Rotate(20, 100, 100);
doc.AddGrid();
doc.Save(Server.MapPath("docaddgrid.pdf"));
Using doc As New Doc()
doc.Page = doc.AddPage()
doc.Transform.Rotate(20, 100, 100)
doc.AddGrid()
doc.Save(Server.MapPath("docaddgrid.pdf"))
End Using