Class PageSettings
Namespace: Aspose.Tasks.Visualization
Assembly: Aspose.Tasks.dll (25.2.0)
Represents printing settings for a page of project view.
public class PageSettings
Inheritance
Inherited Members
object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Constructors
PageSettings()
Initializes a new instance of the Aspose.Tasks.Visualization.PageSettings class. Represents printing settings for a page of project view.
public PageSettings()
Properties
AdjustToPercentOfNormalSize
Gets or sets a value indicating whether to adjust printing to the specified percentage (Aspose.Tasks.Visualization.PageSettings.PercentOfNormalSize) of normal size.
public bool AdjustToPercentOfNormalSize { get; set; }
Property Value
Remarks
Is not effective when project is rendered in HTML format.
FirstPageNumber
Gets or sets a first page number for printing.
public short FirstPageNumber { get; set; }
Property Value
IsPortrait
Gets or sets a value indicating whether the page orientation is portrait; returns false if the page orientation is landscape.
public bool IsPortrait { get; set; }
Property Value
Remarks
Is applicable during rendering when SaveOptions.PageSize == Visualization.PageSize.DefinedInView.
PagesInHeight
Gets or sets a number of pages in height to be printed.
public int PagesInHeight { get; set; }
Property Value
PagesInWidth
Gets or sets a number of pages in width to be printed.
public int PagesInWidth { get; set; }
Property Value
PaperSize
Gets or sets a paper size. Can be one of the values of the Aspose.Tasks.Visualization.PrinterPaperSize enumeration.
public PrinterPaperSize PaperSize { get; set; }
Property Value
PaperSizeId
Gets or sets an integer representing one of the PrinterPaperSize values or a custom page size id. This value can be used to get PaperSize from OS settings System.Drawing.Printing.PrinterSettings.PaperSizes.
public int PaperSizeId { get; set; }
Property Value
PercentOfNormalSize
Gets or sets a percentage of normal size to adjust printing to.
public int PercentOfNormalSize { get; set; }