public final class PdfSaveOptions extends SaveOptions
Options for to PDF converison
| Modifier and Type | Class and Description |
|---|---|
static class |
PdfSaveOptions.PdfFileType
Pdf file types
|
| Constructor and Description |
|---|
PdfSaveOptions()
Create PdfSaveOptions instance
|
| Modifier and Type | Method and Description |
|---|---|
com.groupdocs.foundation.domain.FileType |
getConvertFileType_PdfSaveOptions_New()
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 in pixels after conversion
|
int |
getMarginBottom()
Desired page bottom margin in pixels after conversion
|
int |
getMarginLeft()
Desired page left margin in pixels after conversion
|
int |
getMarginRight()
Desired page right margin in pixels after conversion
|
int |
getMarginTop()
Desired page top margin in pixels after conversion
|
boolean |
getPageMode_PdfSaveOptions_New()
If true the conversion result will be set of streams/files for each page
If false only one stream/file will be returned Default: false
|
String |
getPassword()
Set this property if you want to protect the converted document with a
password
|
int |
getWidth()
Desired page width in pixels after conversion
|
String |
getWordBookmarks()
If the input document is Word the conversion will handle the word
bookmarks regarding this option.
|
void |
setConvertFileType_PdfSaveOptions_New(com.groupdocs.foundation.domain.FileType 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 in pixels after conversion
|
void |
setMarginBottom(int value)
Desired page bottom margin in pixels after conversion
|
void |
setMarginLeft(int value)
Desired page left margin in pixels after conversion
|
void |
setMarginRight(int value)
Desired page right margin in pixels after conversion
|
void |
setMarginTop(int value)
Desired page top margin in pixels after conversion
|
void |
setPageMode_PdfSaveOptions_New(boolean value)
If true the conversion result will be set of streams/files for each page
If false only one stream/file will be returned Default: false
|
void |
setPassword(String value)
Set this property if you want to protect the converted document with a
password
|
void |
setWidth(int value)
Desired page width in pixels after conversion
|
void |
setWordBookmarks(String value)
If the input document is Word the conversion will handle the word
bookmarks regarding this option.
|
deepClone, getConvertFileType, getCustomName, getHideWordTrackedChanges, getNumPagesToConvert, getOutputType, getPageMode, getPageNumber, getSaveOptionsType, getShowGridLines, getShowHiddenSheets, getUsePdf, getWatermarkOptions, memberwiseClone, setConvertFileType, setCustomName, setHideWordTrackedChanges, setNumPagesToConvert, setOutputType, setPageMode, setPageNumber, setShowGridLines, setShowHiddenSheets, setUsePdf, setWatermarkOptionspublic com.groupdocs.foundation.domain.FileType getConvertFileType_PdfSaveOptions_New()
The desired file type to which the input document should be converted to
public void setConvertFileType_PdfSaveOptions_New(com.groupdocs.foundation.domain.FileType value)
The desired file type to which the input document should be converted to
value - public String getWordBookmarks()
If the input document is Word the conversion will handle the word
bookmarks regarding this option. Use
GroupDocs.Conversion.Domain.WordBookmarksWordBookmarks to set
desired behavior
public void setWordBookmarks(String value)
If the input document is Word the conversion will handle the word
bookmarks regarding this option. Use
GroupDocs.Conversion.Domain.WordBookmarksWordBookmarks to set
desired behavior
value - public int getWidth()
Desired page width in pixels after conversion
public void setWidth(int value)
Desired page width in pixels after conversion
value - public int getHeight()
Desired page height in pixels after conversion
public void setHeight(int value)
Desired page height in pixels after conversion
value - public double getDpi()
Desired page DPI after conversion. The default resolution is: 96dpi
public void setDpi(double value)
Desired page DPI after conversion. The default resolution is: 96dpi
value - public String getPassword()
Set this property if you want to protect the converted document with a password
public void setPassword(String value)
Set this property if you want to protect the converted document with a password
value - public int getMarginTop()
Desired page top margin in pixels after conversion
public void setMarginTop(int value)
Desired page top margin in pixels after conversion
value - public int getMarginBottom()
Desired page bottom margin in pixels after conversion
public void setMarginBottom(int value)
Desired page bottom margin in pixels after conversion
value - public int getMarginLeft()
Desired page left margin in pixels after conversion
public void setMarginLeft(int value)
Desired page left margin in pixels after conversion
value - public int getMarginRight()
Desired page right margin in pixels after conversion
public void setMarginRight(int value)
Desired page right margin in pixels after conversion
value - public boolean getPageMode_PdfSaveOptions_New()
If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false
public void setPageMode_PdfSaveOptions_New(boolean value)
If true the conversion result will be set of streams/files for each page If false only one stream/file will be returned Default: false
value - Copyright © 2017. All rights reserved.