SharpLeaf Reference > DocumentLayout Class > DocumentLayout Constructor

DocumentLayout Constructor

Create a new document layout to use as master pages for SharpLeaf.

Overloads

Example

   page = new PageLayout(PaperSize.A4);
  // Invisible frame with one-inch margin all around
   page.Add(new Frame("MyFrameId",72,72,-72,-72));
   layout = new DocumentLayout(page);
   lf = new SharpLeaf(layout);

See also ...

DocumentLayout.Members


Send comments on this topic
© Dyalog Ltd 2021