Table of Contents

Class PageLayout

Namespace
BitMiracle.Docotic.Pdf.Layout
Assembly
BitMiracle.Docotic.Pdf.Layout.dll

Class for building a page layout.

public sealed class PageLayout
Inheritance
PageLayout
Inherited Members

Methods

Background()

Gets the layout container for the background page content.

BackgroundColor(PdfColor, int)

Sets the background color and opacity.

Content()

Gets the layout container for the primary page content.

ContentFromLeftToRight()

Sets the content direction from left to right.

ContentFromRightToLeft()

Sets the content direction from right to left.

Footer()

Gets the layout container for the page footer.

Foreground()

Gets the layout container for the foreground page content.

Header()

Gets the layout container for the page header.

Margin(double)

Sets all margins to the same value.

MarginBottom(double)

Sets the bottom margin.

MarginHorizontal(double)

Sets the left and right margins.

MarginLeft(double)

Sets the left margin.

MarginRight(double)

Sets the right margin.

MarginTop(double)

Sets the top margin.

MarginVertical(double)

Sets the top and bottom margins.

Size(PdfPaperSize)

Sets the size of the page.

Size(PdfPaperSize, PdfPaperOrientation)

Sets the size and the orientation of the page .

Size(PdfSize)

Sets the size of the page.

Size(double, double)

Sets the size of the page.

TextStyle(TextStyle)

Sets the default text style for the page content.

TextStyle(Func<Typography, TextStyle>)

Sets the default text style for the page content.