SharpLeaf Reference > PageLayout Class > PageLayout Constructor

PageLayout Constructor

Create an new PageLayout for inclusion in a DocumentLayout.

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);

Description

See PaperSize structure for pre-defined, standard sizes.

See also ...

PageLayout.Members


Send comments on this topic
© Dyalog Ltd 2021