Here we draw two rectangles into our document. The black
rectangle is drawn before the skew operation and the red one is
drawn after it.
using var doc = new Doc();
doc.Rect.Width = 200;
doc.Rect.Height = 250;
doc.Rect.Position(20, 20);
doc.Width = 20;
doc.FrameRect();
doc.Transform.Skew(1.5, 1.5, 20, 20);
doc.Color.String = "255 0 0"; // red
doc.FrameRect();
doc.Save(Server.MapPath("transformskew.pdf"));
Using doc As New Doc()
doc.Rect.Width = 200
doc.Rect.Height = 250
doc.Rect.Position(20, 20)
doc.Width = 20
doc.FrameRect()
doc.Transform.Skew(1.5, 1.5, 20, 20)
doc.Color.String = "255 0 0"
' red
doc.FrameRect()
doc.Save(Server.MapPath("transformskew.pdf"))
End Using