public class PdfFileOptions extends Object
Class PdfFileOptions.
Constructor and Description |
---|
PdfFileOptions()
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(int transformations)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(int transformations,
Watermark watermark)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(String password)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(String password,
int transformations)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(String password,
int transformations,
Watermark watermark)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(String password,
Watermark watermark)
Initializes a new instance of the
PdfFileOptions class. |
PdfFileOptions(Watermark watermark)
Initializes a new instance of the
PdfFileOptions class. |
Modifier and Type | Method and Description |
---|---|
CadOptions |
getCadOptions()
Gets Cad options.
|
CellsOptions |
getCellsOptions()
Gets cells options.
|
DiagramOptions |
getDiagramOptions()
Gets Diagram options.
|
EmailOptions |
getEmailOptions()
Gets email options.
|
int |
getJpegQuality()
Gets the quality of the jpeg images contained in resulting pdf documents.
|
String |
getPassword()
The password.
|
PdfOptions |
getPdfOptions()
Gets PDF options.
|
boolean |
getRenderComments()
Indicates whether comments should be rendered.
|
int |
getTransformations()
Gets desired transformations, the default value is
None |
Watermark |
getWatermark()
The watermark.
|
WordsOptions |
getWordsOptions()
Gets Words options.
|
void |
setCadOptions(CadOptions value)
Sets Cad options.
|
void |
setCellsOptions(CellsOptions value)
Sets cells options.
|
void |
setDiagramOptions(DiagramOptions value)
Sets Diagram options.
|
void |
setEmailOptions(EmailOptions value)
Sets Words options.
|
void |
setJpegQuality(int value)
Sets the quality of the jpeg images contained in resulting pdf documents.
|
void |
setPassword(String value)
The password.
|
void |
setPdfOptions(PdfOptions value)
Sets PDF options.
|
void |
setRenderComments(boolean value)
Indicates whether comments should be rendered.
|
void |
setTransformations(int value)
Sets transformations.
|
void |
setWatermark(Watermark value)
The watermark.
|
void |
setWordsOptions(WordsOptions value)
Sets email options.
|
public PdfFileOptions()
Initializes a new instance of the PdfFileOptions
class.
public PdfFileOptions(int transformations)
Initializes a new instance of the PdfFileOptions
class.
transformations
- The desired transformations.public PdfFileOptions(Watermark watermark)
Initializes a new instance of the PdfFileOptions
class.
watermark
- The watermark.public PdfFileOptions(int transformations, Watermark watermark)
Initializes a new instance of the PdfFileOptions
class.
transformations
- The desired transformations.watermark
- The watermarkpublic PdfFileOptions(String password)
Initializes a new instance of the PdfFileOptions
class.
password
- The file password.public PdfFileOptions(String password, int transformations)
Initializes a new instance of the PdfFileOptions
class.
password
- The file password.transformations
- The desired transformations.public PdfFileOptions(String password, Watermark watermark)
Initializes a new instance of the PdfFileOptions
class.
password
- The file password.watermark
- The watermark.public String getPassword()
The password.
public void setPassword(String value)
The password.
value
- the valuepublic int getJpegQuality()
Gets the quality of the jpeg images contained in resulting pdf documents. Valid values are between 1 and 100. Default value is 90.
This property affects the size of resulting pdf document and the quality of jpeg images contained in it.public void setJpegQuality(int value)
Sets the quality of the jpeg images contained in resulting pdf documents. Valid values are between 1 and 100. Default value is 90.
This property affects the size of resulting pdf document and the quality of jpeg images contained in it.value
- a int.public boolean getRenderComments()
Indicates whether comments should be rendered. Default value is false
public void setRenderComments(boolean value)
Indicates whether comments should be rendered. Default value is false
value
- a boolean.public Watermark getWatermark()
The watermark.
public void setWatermark(Watermark value)
The watermark.
value
- the valuepublic int getTransformations()
Gets desired transformations, the default value is None
public void setTransformations(int value)
value
- the valuepublic CellsOptions getCellsOptions()
Gets cells options.
public void setCellsOptions(CellsOptions value)
Sets cells options.
value
- the valuepublic DiagramOptions getDiagramOptions()
Gets Diagram options.
DiagramOptions
object.public void setDiagramOptions(DiagramOptions value)
Sets Diagram options.
value
- a DiagramOptions
object.public EmailOptions getEmailOptions()
Gets email options.
public void setEmailOptions(EmailOptions value)
Sets Words options.
value
- the valuepublic WordsOptions getWordsOptions()
Gets Words options.
public void setWordsOptions(WordsOptions value)
Sets email options.
value
- the valuepublic PdfOptions getPdfOptions()
Gets PDF options.
PdfOptions
object.public void setPdfOptions(PdfOptions value)
Sets PDF options.
value
- a PdfOptions
object.public CadOptions getCadOptions()
Gets Cad options.
CadOptions
object.public void setCadOptions(CadOptions value)
Sets Cad options.
value
- a CadOptions
object.Copyright © 2018. All rights reserved.