WPF

Upgrade Guide User Guide Demos Support Forums Download
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class PivotGridPrintDocument - WPF API Reference | Syncfusion

    Show / Hide Table of Contents

    Class PivotGridPrintDocument

    Class that holds the members that print the pages in PivotGrid view.

    Inheritance
    System.Object
    PivotGridPrintDocument
    Implements
    IPrintDocument
    Inherited Members
    System.Object.ToString()
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Syncfusion.Windows.Controls.PivotGrid
    Assembly: Syncfusion.PivotAnalysis.WPF.dll
    Syntax
    public class PivotGridPrintDocument : IPrintDocument

    Constructors

    PivotGridPrintDocument(PivotGridControl)

    A constructor that initializes the print pages with PivotGrid view.

    Declaration
    public PivotGridPrintDocument(PivotGridControl grid)
    Parameters
    Type Name Description
    PivotGridControl grid

    The PivotGrid control.

    Properties

    Margin

    Gets or sets the thickness of outer border of the framework element.

    Declaration
    public Thickness Margin { get; set; }
    Property Value
    Type Description
    System.Windows.Thickness

    PageSize

    Gets or sets the size of the print page.

    Declaration
    public Size PageSize { get; set; }
    Property Value
    Type Description
    System.Windows.Size

    PrintablePageSize

    Gets or sets the client size of the print page.

    Declaration
    public Size PrintablePageSize { get; set; }
    Property Value
    Type Description
    System.Windows.Size

    TotalPages

    Gets or sets the total pages to print.

    Declaration
    public int TotalPages { get; set; }
    Property Value
    Type Description
    System.Int32

    Methods

    GetPage(Int32)

    A method that returns print visual of the respective page.

    Declaration
    public FrameworkElement GetPage(int pageNo)
    Parameters
    Type Name Description
    System.Int32 pageNo

    Page number which needs to be printed.

    Returns
    Type Description
    System.Windows.FrameworkElement

    Framework element.

    OnSetPageSize()

    A method that sets the size of print page and count of total pages.

    Declaration
    public void OnSetPageSize()

    Implements

    IPrintDocument
    Back to top Generated by DocFX
    Copyright © 2001 - 2021 Syncfusion Inc. All Rights Reserved