MultiPageLayout
Overview
MultiPageLayout is a class in Aspose.Words FOSS for .NET.
Defines a layout for rendering multiple pages into a single output.
This class provides 5 methods for working with MultiPageLayout objects in .NET programs.
Available methods include: Grid, Horizontal, SinglePage, TiffFrames, Vertical.
All public members are accessible to any .NET application after installing the Aspose.Words FOSS for .NET package.
Properties: BackColor, BorderColor, BorderWidth.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
BackColor | Color | Read/Write | Gets or sets the background color of the output. |
BorderColor | Color | Read/Write | Gets or sets the color of the pages border. |
BorderWidth | float | Read/Write | Gets or sets the width of the pages border. |
Methods
| Signature | Description |
|---|---|
Vertical(verticalGap: float) | Creates a layout where all specified pages are rendered vertically one below the other in a single output. |
Horizontal(horizontalGap: float) | Creates a layout in which all specified pages are rendered horizontally side by side, left to right, in a single output. |
Grid(columns: int, horizontalGap: float, verticalGap: float) | Creates a layout in which pages are rendered left-to-right, top-to-bottom, in a grid with the specified number of columns. |
TiffFrames() | Creates a layout where each page is rendered as a separate frame in a multi-frame TIFF image. |
SinglePage() | Creates a layout that renders only the first of specified pages. |