public class Text2PDFOptions
extends java.lang.Object
Constructor and Description |
---|
Text2PDFOptions()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getBytesPerBite()
Gets the value BytesPerBite from the options object
|
java.lang.String |
getFontFace()
Gets the value FontFace from the options object
the desired font family name
|
double |
getFontSize()
Gets the value FontSize from the options object
the font size, in units of points
|
double |
getLineHeightMultiplier()
Gets the value LineHeightMultiplier from the options object
The desired line height represented as some multiple of the font size
|
double |
getMarginBottom()
Gets the value MarginBottom from the options object
the bottom margin in units of inches
|
double |
getMarginLeft()
Gets the value MarginLeft from the options object
the left margin in units of inches
|
double |
getMarginRight()
Gets the value MarginRight from the options object
the right margin in units of inches
|
double |
getMarginTop()
Gets the value MarginTop from the options object
the top margin in units of inches
|
double |
getPageHeight()
Gets the value PageHeight from the options object
the page height in units of inches
|
double |
getPageWidth()
Gets the value PageWidth from the options object
the page width in units of inches
|
boolean |
getUseSourceCodeFormatting()
Gets the value UseSourceCodeFormatting from the options object
whether to format the text as if it were source code
|
Text2PDFOptions |
setBytesPerBite(int value)
Sets the value for BytesPerBite in the options object
|
Text2PDFOptions |
setFontFace(java.lang.String value)
Sets the value for FontFace in the options object
the desired font family name
|
Text2PDFOptions |
setFontSize(double value)
Sets the value for FontSize in the options object
the font size, in units of points
|
Text2PDFOptions |
setLineHeightMultiplier(double value)
Sets the value for LineHeightMultiplier in the options object
The desired line height represented as some multiple of the font size
|
Text2PDFOptions |
setMarginBottom(double value)
Sets the value for MarginBottom in the options object
the bottom margin in units of inches
|
Text2PDFOptions |
setMarginLeft(double value)
Sets the value for MarginLeft in the options object
the left margin in units of inches
|
Text2PDFOptions |
setMarginRight(double value)
Sets the value for MarginRight in the options object
the right margin in units of inches
|
Text2PDFOptions |
setMarginTop(double value)
Sets the value for MarginTop in the options object
the top margin in units of inches
|
Text2PDFOptions |
setPageHeight(double value)
Sets the value for PageHeight in the options object
the page height in units of inches
|
Text2PDFOptions |
setPageWidth(double value)
Sets the value for PageWidth in the options object
the page width in units of inches
|
Text2PDFOptions |
setUseSourceCodeFormatting(boolean value)
Sets the value for UseSourceCodeFormatting in the options object
whether to format the text as if it were source code
|
public Text2PDFOptions() throws PDFNetException
PDFNetException
public int getBytesPerBite() throws PDFNetException
PDFNetException
public Text2PDFOptions setBytesPerBite(int value) throws PDFNetException
value
- a int -- the new value for BytesPerBitePDFNetException
public java.lang.String getFontFace() throws PDFNetException
PDFNetException
public Text2PDFOptions setFontFace(java.lang.String value) throws PDFNetException
value
- a String -- the desired font family namePDFNetException
public double getFontSize() throws PDFNetException
PDFNetException
public Text2PDFOptions setFontSize(double value) throws PDFNetException
value
- a double -- the font size, in units of pointsPDFNetException
public double getLineHeightMultiplier() throws PDFNetException
PDFNetException
public Text2PDFOptions setLineHeightMultiplier(double value) throws PDFNetException
value
- a double -- The desired line height represented as some multiple of the font sizePDFNetException
public double getMarginBottom() throws PDFNetException
PDFNetException
public Text2PDFOptions setMarginBottom(double value) throws PDFNetException
value
- a double -- the bottom margin in units of inchesPDFNetException
public double getMarginLeft() throws PDFNetException
PDFNetException
public Text2PDFOptions setMarginLeft(double value) throws PDFNetException
value
- a double -- the left margin in units of inchesPDFNetException
public double getMarginRight() throws PDFNetException
PDFNetException
public Text2PDFOptions setMarginRight(double value) throws PDFNetException
value
- a double -- the right margin in units of inchesPDFNetException
public double getMarginTop() throws PDFNetException
PDFNetException
public Text2PDFOptions setMarginTop(double value) throws PDFNetException
value
- a double -- the top margin in units of inchesPDFNetException
public double getPageHeight() throws PDFNetException
PDFNetException
public Text2PDFOptions setPageHeight(double value) throws PDFNetException
value
- a double -- the page height in units of inchesPDFNetException
public double getPageWidth() throws PDFNetException
PDFNetException
public Text2PDFOptions setPageWidth(double value) throws PDFNetException
value
- a double -- the page width in units of inchesPDFNetException
public boolean getUseSourceCodeFormatting() throws PDFNetException
PDFNetException
public Text2PDFOptions setUseSourceCodeFormatting(boolean value) throws PDFNetException
value
- a boolean -- whether to format the text as if it were source codePDFNetException