public class PdfSaveOptions extends SaveOptions
Allows to specify additional options when rendering project pages to PDF.
Constructor and Description |
---|
PdfSaveOptions()
Initializes a new instance of the
PdfSaveOptions class that can be used to save a document in the SaveFileFormat format. |
Modifier and Type | Method and Description |
---|---|
int |
getCompliance()
Gets a desired conformance level for generated PDF document.
|
String |
getDefaultFontName()
Gets the default font for rendering.
|
PdfEncryptionDetails |
getEncryptionDetails()
Gets an encryption details.
|
List<Integer> |
getPages()
Gets the list of pages numbers to save when saving project layout to separate files.
|
boolean |
getReduceFooterGap()
Gets a value indicating whether a gap between last task and the footer must be reduced.
|
boolean |
getSaveToSeparateFiles()
Gets a value indicating whether to save project pages to separate files.
|
int |
getTextCompression()
Gets a compression type to be used for all content streams except images.
|
boolean |
getUseProjectDefaultFont()
Gets a value indicating whether the default font must be used for rendering.
|
void |
setCompliance(int value)
Sets a desired conformance level for generated PDF document.
|
void |
setDefaultFontName(String value)
Sets the default font for rendering.
|
void |
setEncryptionDetails(PdfEncryptionDetails value)
Sets a encryption details.
|
void |
setPages(List<Integer> value)
Sets the list of pages numbers to save when saving project layout to separate files.
|
void |
setReduceFooterGap(boolean value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
|
void |
setSaveToSeparateFiles(boolean value)
Sets a value indicating whether to save project pages to separate files.
|
void |
setTextCompression(int value)
Sets a compression type to be used for all content streams except images.
|
void |
setUseProjectDefaultFont(boolean value)
Sets a value indicating whether the default font must be used for rendering.
|
getBarStyles, getDrawNonWorkingTime, getEndDate, getFitContent, getGridlines, getLegendOnEachPage, getMarkCriticalTasks, getNonWorkingTimeColor, getPageCount, getPageSize, getPresentationFormat, getRollUpGanttBars, getSaveFormat, getShowProjectSummaryTask, getStartDate, getTasksComparer, getTextStyles, getTimescale, getTimescaleTier, getUseGradientBrush, getView, setBarStyles, setDrawNonWorkingTime, setEndDate, setFitContent, setGridlines, setLegendOnEachPage, setMarkCriticalTasks, setNonWorkingTimeColor, setPageSize, setPresentationFormat, setRollUpGanttBars, setShowProjectSummaryTask, setStartDate, setTasksComparer, setTextStyles, setTimescale, setTimescaleTier, setUseGradientBrush, setView
public PdfSaveOptions()
Initializes a new instance of the PdfSaveOptions
class that can be used to save a document in the SaveFileFormat
format.
public final int getCompliance()
Gets a desired conformance level for generated PDF document.
Default is PdfCompliance.Pdf15
.
public final void setCompliance(int value)
Sets a desired conformance level for generated PDF document.
Default is PdfCompliance.Pdf15
.
value
- a desired conformance level for generated PDF document.public final String getDefaultFontName()
Gets the default font for rendering.
public final void setDefaultFontName(String value)
Sets the default font for rendering.
value
- the default font for rendering.public final PdfEncryptionDetails getEncryptionDetails()
public final void setEncryptionDetails(PdfEncryptionDetails value)
Sets a encryption details. If not set, then no encryption will be performed.
value
- a encryption details.public final List<Integer> getPages()
Gets the list of pages numbers to save when saving project layout to separate files.
public final void setPages(List<Integer> value)
Sets the list of pages numbers to save when saving project layout to separate files.
value
- the list of pages numbers to save when saving project layout to separate files.public final boolean getReduceFooterGap()
Gets a value indicating whether a gap between last task and the footer must be reduced.
public final void setReduceFooterGap(boolean value)
Sets a value indicating whether a gap between last task and the footer must be reduced.
value
- a value indicating whether a gap between last task and the footer must be reduced.public final boolean getSaveToSeparateFiles()
Gets a value indicating whether to save project pages to separate files.
public final void setSaveToSeparateFiles(boolean value)
Sets a value indicating whether to save project pages to separate files.
value
- a value indicating whether to save project pages to separate files.public final int getTextCompression()
Gets a compression type to be used for all content streams except images.
Default is PdfTextCompression.Flate
.
public final void setTextCompression(int value)
Sets a compression type to be used for all content streams except images.
Default is PdfTextCompression.Flate
.
value
- a compression type to be used for all content streams except images.public final boolean getUseProjectDefaultFont()
Gets a value indicating whether the default font must be used for rendering.
public final void setUseProjectDefaultFont(boolean value)
Sets a value indicating whether the default font must be used for rendering.
value
- a value indicating whether the default font must be used for rendering.Copyright (c) 2008-2019 Aspose Pty Ltd. All Rights Reserved.