public class PageSettings extends Object
Specifies settings that apply to a single, printed page.
| Constructor and Description |
|---|
PageSettings() |
| Modifier and Type | Method and Description |
|---|---|
Rectangle |
getBounds()
Gets the size of the page, taking into account the page orientation specified by the
PageSettings property
. |
float |
getHardMarginX()
Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.
|
float |
getHardMarginY()
Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.
|
PrinterResolution |
getPrinterResolution()
Gets the printer resolution for the page.
|
public final Rectangle getBounds()
Gets the size of the page, taking into account the page orientation specified by the PageSettings property
.
Rectangle that represents the length and width, in hundredths of an inch, of the page.public final float getHardMarginX()
Gets the x-coordinate, in hundredths of an inch, of the hard margin at the left of the page.
public final float getHardMarginY()
Gets the y-coordinate, in hundredths of an inch, of the hard margin at the top of the page.
public final PrinterResolution getPrinterResolution()
Gets the printer resolution for the page.
PrinterResolution(PageSettings.getPrinterResolution()) that specifies the printer resolution for the page. The default is the printer's default resolution.Copyright (c) 2008-2025 Aspose Pty Ltd. All Rights Reserved.