MultiPageLayout
Overview
MultiPageLayout is a class in Aspose.Words FOSS for Java.
Defines a layout for rendering multiple pages into a single output.
Edition status of its 14 listed members (a property and its accessor methods are listed separately, overloads once): 14 not yet exercised by a verified example.
This class declares 11 methods for MultiPageLayout objects in Java programs.
Available methods include: getBackColor, getBorderColor, getBorderWidth, grid, horizontal, setBackColor, setBorderColor, setBorderWidth, singlePage, tiffFrames, vertical.
Public members are accessible to any Java application after installing the Aspose.Words FOSS for Java 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) → MultiPageLayout | Creates a layout where all specified pages are rendered vertically one below the other in a single output. |
horizontal(horizontalGap: float) → MultiPageLayout | 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) → MultiPageLayout | Creates a layout in which pages are rendered left-to-right, top-to-bottom, in a grid with the specified number of columns. |
tiffFrames() → MultiPageLayout | Creates a layout where each page is rendered as a separate frame in a multi-frame TIFF image. |
singlePage() → MultiPageLayout | Creates a layout that renders only the first of specified pages. |
getBackColor() → Color | Gets or sets the background color of the output. |
setBackColor(value: Color) | Sets the back color value. |
getBorderColor() → Color | Gets or sets the color of the pages border. |
setBorderColor(value: Color) | Sets the border color value. |
getBorderWidth() → float | Gets or sets the width of the pages border. |
setBorderWidth(value: float) | Sets the border width value. |