public class WordProcessingConvertOptions extends com.groupdocs.conversion.options.convert.CommonConvertOptions<WordProcessingFileType> implements Serializable
Options for conversion to WordProcessing file type.
Constructor and Description |
---|
WordProcessingConvertOptions()
Initializes new instance of
WordProcessingConvertOptions class. |
Modifier and Type | Method and Description |
---|---|
double |
getDpi()
Desired page DPI after conversion.
|
int |
getHeight()
Desired page height after conversion.
|
String |
getPassword()
Set this property if you want to protect the converted document with a password.
|
RtfOptions |
getRtfOptions()
RTF specific convert options
|
int |
getWidth()
Desired page width after conversion.
|
int |
getZoom()
Specifies the zoom level in percentage.
|
void |
setDpi(double value)
Desired page DPI after conversion.
|
void |
setHeight(int value)
Desired page height after conversion.
|
void |
setPassword(String value)
Set this property if you want to protect the converted document with a password.
|
void |
setRtfOptions(RtfOptions value)
RTF specific convert options
|
void |
setWidth(int value)
Desired page width after conversion.
|
void |
setZoom(int value)
Specifies the zoom level in percentage.
|
getPageNumber, getPages, getPagesCount, getWatermark, setPageNumber, setPages, setPagesCount, setWatermark
deepClone, getFormat_ConvertOptions_New, getFormat, setFormat_ConvertOptions_New, setFormat
equals, equals, hashCode, op_Equality, op_Inequality
getClass, notify, notifyAll, toString, wait, wait, wait
getFormat, setFormat
public WordProcessingConvertOptions()
Initializes new instance of WordProcessingConvertOptions
class.
public final int getWidth()
Desired page width after conversion.
public final void setWidth(int value)
Desired page width after conversion.
public final int getHeight()
Desired page height after conversion.
public final void setHeight(int value)
Desired page height after conversion.
public final double getDpi()
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final void setDpi(double value)
Desired page DPI after conversion. The default resolution is: 96 dpi.
public final String getPassword()
Set this property if you want to protect the converted document with a password.
public final void setPassword(String value)
Set this property if you want to protect the converted document with a password.
public final RtfOptions getRtfOptions()
RTF specific convert options
public final void setRtfOptions(RtfOptions value)
RTF specific convert options
public final int getZoom()
Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.
public final void setZoom(int value)
Specifies the zoom level in percentage. Default is 100. Default zoom is supported till Microsoft Word 2010. Starting from Microsoft Word 2013 default zoom is no longer set to document, instead it appears to use the zoom factor of the last document that was opened.