public class WebDocumentOptions extends Object
| Modifier and Type | Class | Description |
|---|---|---|
static class |
WebDocumentOptions.PageSizeEnum |
The size of the output page.
|
| Constructor | Description |
|---|---|
WebDocumentOptions() |
| Modifier and Type | Method | Description |
|---|---|---|
WebDocumentOptions |
bottomMargin(Double bottomMargin) |
|
boolean |
equals(Object o) |
|
Double |
getBottomMargin() |
The distance (in points) between the bottom edge of the page and the bottom boundary of the body text.
|
Double |
getLeftMargin() |
The distance (in points) between the left edge of the page and the left boundary of the body text.
|
WebDocumentOptions.PageSizeEnum |
getPageSize() |
The size of the output page.
|
Double |
getRightMargin() |
The distance (in points) between the right edge of the page and the right boundary of the body text.
|
Double |
getTopMargin() |
The distance (in points) between the top edge of the page and the top boundary of the body text.
|
int |
hashCode() |
|
WebDocumentOptions |
leftMargin(Double leftMargin) |
|
WebDocumentOptions |
pageSize(WebDocumentOptions.PageSizeEnum pageSize) |
|
WebDocumentOptions |
rightMargin(Double rightMargin) |
|
void |
setBottomMargin(Double bottomMargin) |
|
void |
setLeftMargin(Double leftMargin) |
|
void |
setPageSize(WebDocumentOptions.PageSizeEnum pageSize) |
|
void |
setRightMargin(Double rightMargin) |
|
void |
setTopMargin(Double topMargin) |
|
WebDocumentOptions |
topMargin(Double topMargin) |
|
String |
toString() |
public WebDocumentOptions pageSize(WebDocumentOptions.PageSizeEnum pageSize)
public WebDocumentOptions.PageSizeEnum getPageSize()
public void setPageSize(WebDocumentOptions.PageSizeEnum pageSize)
public WebDocumentOptions leftMargin(Double leftMargin)
public Double getLeftMargin()
public void setLeftMargin(Double leftMargin)
public WebDocumentOptions rightMargin(Double rightMargin)
public Double getRightMargin()
public void setRightMargin(Double rightMargin)
public WebDocumentOptions topMargin(Double topMargin)
public Double getTopMargin()
public void setTopMargin(Double topMargin)
public WebDocumentOptions bottomMargin(Double bottomMargin)
public Double getBottomMargin()
public void setBottomMargin(Double bottomMargin)
Copyright © 2025. All rights reserved.