|
Here we draw two rectangles into our document. The black
rectangle is drawn before the translation 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(100, 100);
doc.Width = 20;
doc.FrameRect();
doc.Transform.Translate(200, 200);
doc.Color.String = "255 0 0"; // red
doc.FrameRect();
doc.Save("transformtranslate.pdf");

transformtranslate.pdf
Also see example code in: ABCpdf Landscape
Example, Page
GetBitmap Function, Page
Rotation Property,
XpsImportOperation Import Function.
|