public final class WordsSaveOptions extends SaveOptions
Options for to Word conversion
Modifier and Type | Class and Description |
---|---|
static class |
WordsSaveOptions.WordsFileType
Words file types
|
Constructor and Description |
---|
WordsSaveOptions()
Create WordsSaveOptions instance
|
Modifier and Type | Method and Description |
---|---|
long |
getConvertFileType()
The desired file type to which the input document should be converted to
|
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
|
com.groupdocs.conversion.options.save.RtfOptions |
getRtfOptions()
RTF specific convert options
|
int |
getWidth()
Desired page width after conversion
|
int |
getZoom()
Specifies the zoom level in percentage.
|
void |
setConvertFileType(long value)
The desired file type to which the input document should be converted to
|
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(com.groupdocs.conversion.options.save.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.
|
deepClone, getConvertFileTypeExtension, getConvertPages, getConvertPagesInternal, getNumPagesToConvert, getPageNumber, getUsePdf, getWatermarkOptions, memberwiseClone, setNumPagesToConvert, setPageNumber, setUsePdf, setWatermarkOptions
public final long getConvertFileType()
The desired file type to which the input document should be converted to
getConvertFileType
in class SaveOptions
public final void setConvertFileType(long value)
The desired file type to which the input document should be converted to
setConvertFileType
in class SaveOptions
value
- public final int getWidth()
Desired page width after conversion
public final void setWidth(int value)
Desired page width after conversion
value
- public final int getHeight()
Desired page height after conversion
public final void setHeight(int value)
Desired page height after conversion
value
- public final double getDpi()
Desired page DPI after conversion. The default resolution is: 96dpi
public final void setDpi(double value)
Desired page DPI after conversion. The default resolution is: 96dpi
value
- 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
value
- public final com.groupdocs.conversion.options.save.RtfOptions getRtfOptions()
RTF specific convert options
public final void setRtfOptions(com.groupdocs.conversion.options.save.RtfOptions value)
RTF specific convert options
value
- 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.
value
-