alexa
menu

Blazor

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

    Show / Hide Table of Contents

    Class PdfLayoutSettings

    Represents options to control how the worksheet layout is rendered in a PDF document.

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

    Use this class to customize page layout behavior during PDF export, including page fitting and page orientation.

    The following properties determine how the worksheet content is rendered:

    • FitSheetOnOnePage – Scales the entire worksheet to fit within a single PDF page.
    • Orientation – Specifies whether PDF pages are rendered in portrait or landscape orientation.

    This class is intended for simple, programmatic configuration of PDF page layout without modifying the worksheet data or structure.

    Constructors

    PdfLayoutSettings()

    Declaration
    public PdfLayoutSettings()

    Properties

    FitSheetOnOnePage

    Gets or sets a value indicating whether the entire sheet should be scaled to fit on a single PDF page.

    Declaration
    public bool FitSheetOnOnePage { get; set; }
    Property Value
    Type
    bool
    Remarks

    When set to true, the content of the sheet is scaled proportionally to fit within one page. When set to false, the sheet may span multiple pages.

    Orientation

    Gets or sets the page orientation used for PDF output.

    Declaration
    public PdfPageOrientation Orientation { get; set; }
    Property Value
    Type
    PdfPageOrientation
    Remarks

    This property determines whether the PDF pages are rendered in portrait or landscape orientation.

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