public final class PdfSaveOptions extends SaveOptions
Options for to PDF conversion
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
|
String |
getPassword()
Set this property if you want to protect the converted document with a
password
|
com.groupdocs.conversion.converter.option.PdfOptions |
getPdfOptions()
Pdf specific convert options
|
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 |
setPassword(String value)
Set this property if you want to protect the converted document with a
password
|
void |
setPdfOptions(com.groupdocs.conversion.converter.option.PdfOptions value)
Pdf specific convert options
|
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, getCadOptions, getConvertFileType, getConvertFileTypeExtension, getConvertPages, getCustomName, getHideComments, getHidePdfAnnotations, getHideWordComments, getHideWordTrackedChanges, getNumPagesToConvert, getOutputType, getPageMode, getPageNumber, getSaveOptionsType, getShowGridLines, getShowHiddenSheets, getUsePdf, getWatermarkOptions, memberwiseClone, setCadOptions, setConvertFileType, setConvertPages, setCustomName, setHideComments, setHidePdfAnnotations, setHideWordComments, setHideWordTrackedChanges, setNumPagesToConvert, setOutputType, setPageMode, setPageNumber, setShowGridLines, setShowHiddenSheets, setUsePdf, setWatermarkOptions
public 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 com.groupdocs.conversion.converter.option.PdfOptions getPdfOptions()
Pdf specific convert options
public void setPdfOptions(com.groupdocs.conversion.converter.option.PdfOptions value)
Pdf specific convert options
value
- Copyright © 2017. All rights reserved.