java.lang.Object | ||
↳ | com.pdftron.pdf.OptionsBase | |
↳ | com.pdftron.pdf.PrintToPdfOptions |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
PrintToPdfOptions()
Constructor.
| |||||||||||
PrintToPdfOptions(String json_string)
Constructor.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
double |
getHorizontalPageMargin()
Gets the value HorizontalPageMargin from the options object
The horizontal margins (left and right) in points.
| ||||||||||
double |
getPageHeight()
Gets the value PageHeight from the options object
The page height to use in points.
| ||||||||||
String |
getPageOrientation()
Gets the value PageOrientation from the options object
Page orientation, "portrait" or "landscape".
| ||||||||||
double |
getPageWidth()
Gets the value PageWidth from the options object
The page width to use in points.
| ||||||||||
double |
getVerticalPageMargin()
Gets the value VerticalPageMargin from the options object
The vertical margins (top and bottom) in points.
| ||||||||||
PrintToPdfOptions |
setHorizontalPageMargin(double value)
Sets the value for HorizontalPageMargin in the options object
The horizontal margins (left and right) in points.
| ||||||||||
PrintToPdfOptions |
setPageHeight(double value)
Sets the value for PageHeight in the options object
The page height to use in points.
| ||||||||||
PrintToPdfOptions |
setPageOrientation(String value)
Sets the value for PageOrientation in the options object
Page orientation, "portrait" or "landscape".
| ||||||||||
PrintToPdfOptions |
setPageWidth(double value)
Sets the value for PageWidth in the options object
The page width to use in points.
| ||||||||||
PrintToPdfOptions |
setVerticalPageMargin(double value)
Sets the value for VerticalPageMargin in the options object
The vertical margins (top and bottom) in points.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Gets the value HorizontalPageMargin from the options object The horizontal margins (left and right) in points. The default is a 1/4 of an inch or 18 points.
PDFNetException |
---|
Gets the value PageHeight from the options object The page height to use in points. If not set (or set to 0), uses letter paper size.
PDFNetException |
---|
Gets the value PageOrientation from the options object Page orientation, "portrait" or "landscape".
PDFNetException |
---|
Gets the value PageWidth from the options object The page width to use in points. If not set (or set to 0), uses letter paper size.
PDFNetException |
---|
Gets the value VerticalPageMargin from the options object The vertical margins (top and bottom) in points. The default is a 1/4 of an inch or 18 points.
PDFNetException |
---|
Sets the value for HorizontalPageMargin in the options object The horizontal margins (left and right) in points. The default is a 1/4 of an inch or 18 points.
PDFNetException |
---|
Sets the value for PageHeight in the options object The page height to use in points. If not set (or set to 0), uses letter paper size.
PDFNetException |
---|
Sets the value for PageOrientation in the options object Page orientation, "portrait" or "landscape".
PDFNetException |
---|
Sets the value for PageWidth in the options object The page width to use in points. If not set (or set to 0), uses letter paper size.
PDFNetException |
---|
Sets the value for VerticalPageMargin in the options object The vertical margins (top and bottom) in points. The default is a 1/4 of an inch or 18 points.
PDFNetException |
---|