Class PdfSaveOptions
Namespace: Aspose.Tasks.Saving
Assembly: Aspose.Tasks.dll (25.2.0)
Allows to specify additional options when rendering project pages to PDF.
public class PdfSaveOptions : SaveOptions
Inheritance
object ← SimpleSaveOptions ← SaveOptions ← PdfSaveOptions
Inherited Members
SaveOptions.BarStyles, SaveOptions.DrawNonWorkingTime, SaveOptions.EndDate, SaveOptions.FitTimescaleToEndOfPage, SaveOptions.FitContent, SaveOptions.Gridlines, SaveOptions.LegendDrawingOptions, SaveOptions.MarkCriticalTasks, SaveOptions.NonWorkingTimeColor, SaveOptions.PageCount, SaveOptions.PageSize, SaveOptions.IsPortrait, SaveOptions.PresentationFormat, SaveOptions.RollUpGanttBars, SaveOptions.StartDate, SaveOptions.TextStyles, SaveOptions.Timescale, SaveOptions.UseGradientBrush, SaveOptions.View, SaveOptions.ViewSettings, SaveOptions.CustomPageSize, SaveOptions.RenderToSinglePage, SimpleSaveOptions.project, SimpleSaveOptions.SaveFormat, SimpleSaveOptions.TasksComparer, SimpleSaveOptions.TasksFilter, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
PdfSaveOptions()
Initializes a new instance of the Aspose.Tasks.Saving.PdfSaveOptions class that can be used to save a document in the Aspose.Tasks.Saving.SaveFileFormat?text=PDF format.
public PdfSaveOptions()
Properties
Compliance
Gets or sets a desired compliance level for generated PDF document. Default is Aspose.Tasks.Saving.PdfCompliance.Pdf15.
public PdfCompliance Compliance { get; set; }
Property Value
DigitalSignatureDetails
Gets or sets a digital signature details. If not set, then no signing will be performed.
public PdfDigitalSignatureDetails DigitalSignatureDetails { get; set; }
Property Value
EncryptionDetails
Gets or sets a encryption details. If not set, then no encryption will be performed.
public PdfEncryptionDetails EncryptionDetails { get; set; }
Property Value
FontSettings
Specifies font settings used when rendering project’s view.
public FontSettings FontSettings { get; }
Property Value
PageSavingCallback
Gets or sets a user-defined callback which is used to get an output stream for each rendered page. Is applicable when Aspose.Tasks.Saving.PdfSaveOptions.SaveToSeparateFiles option is used.
public IPageSavingCallback PageSavingCallback { get; set; }
Property Value
Pages
Gets or sets the list of pages numbers to save when saving project layout to separate files.
public List<int> Pages { get; set; }
Property Value
ReduceFooterGap
Gets or sets a value indicating whether a gap between last task and the footer must be reduced.
public bool ReduceFooterGap { get; set; }
Property Value
SaveToSeparateFiles
Gets or sets a value indicating whether to save project pages to separate files.
public bool SaveToSeparateFiles { get; set; }
Property Value
TextCompression
Gets or sets a compression type to be used for all content streams except images. Default is Aspose.Tasks.Saving.PdfTextCompression.Flate.
public PdfTextCompression TextCompression { get; set; }