alexa
menu

Blazor

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Search Results for

    Show / Hide Table of Contents

    Class PdfMultiPageSettings

    Provides configuration settings for multi-page PDF export in the Gantt Chart. Includes options for scaling and page fitting during export.

    Inheritance
    object
    PdfMultiPageSettings
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Syncfusion.Blazor.Gantt
    Assembly: Syncfusion.Blazor.dll
    Syntax
    public class PdfMultiPageSettings

    Constructors

    PdfMultiPageSettings()

    Declaration
    public PdfMultiPageSettings()

    Properties

    PageTall

    Gets or sets the target number of pages tall to fit the exported content.

    Declaration
    public int PageTall { get; set; }
    Property Value
    Type Description
    int

    An integer with a minimum value of 1 and a maximum equal to the original computed pages-tall for the export. If a value exceeds the original pages-tall, the original value is used. If a value is less than the original, it is treated as a best-effort target.

    Remarks

    The actual number of pages in the exported PDF may differ from the target due to discrete packing of rows and timeline cells, as well as variations in available space caused by headers, footers, and scaling settings. For example, if the original pages-tall is 6 and this property is set to 4, the exporter attempts to fit content within approximately 4 pages tall, but the final page count may vary.

    PageWide

    Gets or sets the target number of pages wide to fit the exported content.

    Declaration
    public int PageWide { get; set; }
    Property Value
    Type Description
    int

    An integer with a minimum value of 1 and a maximum equal to the original computed pages-wide for the export. If a value exceeds the original pages-wide, the original value is used. If a value is less than the original, it is treated as a best-effort target.

    Remarks

    The actual total page count may not equal the product of target pages-wide and pages-tall due to discrete packing of columns and timeline units, as well as variations in chart band width on the last grid page. For example, if the original pages-wide is 5 and this property is set to 3, the exporter attempts to fit content within approximately 3 pages wide, but the final page count may vary.

    ScaleMode

    Chooses how the Gantt chart scales in multi-page PDF export.

    Declaration
    public GanttPdfExportScaleMode ScaleMode { get; set; }
    Property Value
    Type Description
    GanttPdfExportScaleMode
    • Percentage – A value indicating whether to scale by percentage.
    • FitToPages – Fit content to a specific number of pages.
    Defaults to Percentage.
    Remarks

    Determines how the Gantt chart content is resized during export. Percentage auto-scales the chart for the best look. FitToPages compresses content to fit within the number of pages
    specified by TotalPages.

    ScalePercentage

    Defines the scaling percentage used when ScaleMode is set to Percentage.

    Declaration
    public int ScalePercentage { get; set; }
    Property Value
    Type Description
    int

    An integer between 10 and 400 representing the percentage to scale the Gantt chart content.
    Defaults to 100. For example, 50 reduces the visual size by half.

    Remarks

    Values outside the valid range are clamped to ensure proper rendering.
    This property is ignored when ScaleMode is set to FitToPages.

    TotalPages

    Gets the total number of pages in the exported PDF.

    Declaration
    public int TotalPages { get; }
    Property Value
    Type Description
    int

    The total number of pages calculated based on content size, scaling mode.

    Remarks

    This property indicates the final number of pages generated during a multi-page PDF export of the Gantt chart. The value accounts for the layout of content, including rows, columns, headers, footers, and scaling settings.

    In this article
    Back to top Generated by DocFX
    Copyright © 2001 - 2026 Syncfusion Inc. All Rights Reserved