WinForms

Code Examples Upgrade Guide User Guide Demos Support Forums Download
  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class TreeViewPrintHeaderFooterEventArgs

    Show / Hide Table of Contents

    Class TreeViewPrintHeaderFooterEventArgs

    Represents the data for the DrawPrintHeader and DrawPrintFooter events.

    Inheritance
    System.Object
    SyncfusionCancelEventArgs
    TreeViewPrintHeaderFooterEventArgs
    Inherited Members
    SyncfusionCancelEventArgs.ToString()
    Namespace: Syncfusion.Windows.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class TreeViewPrintHeaderFooterEventArgs : SyncfusionCancelEventArgs

    Constructors

    TreeViewPrintHeaderFooterEventArgs(Rectangle, Graphics, Int32, Int32, Boolean)

    Initializes a new instance of the TreeViewPrintHeaderFooterEventArgs class.

    Declaration
    public TreeViewPrintHeaderFooterEventArgs(Rectangle drawRectangle, Graphics graphics, int pageNumber, int pageCount, bool cancel)
    Parameters
    Type Name Description
    System.Drawing.Rectangle drawRectangle

    Rectangle area to draw Header or Footer.

    System.Drawing.Graphics graphics

    Printer graphics.

    System.Int32 pageNumber

    Current page number.

    System.Int32 pageCount

    Total page count.

    System.Boolean cancel

    Indicates whether printing should be canceled.

    Properties

    DrawRectangle

    Gets the Rectangle area to draw Header or Footer.

    Declaration
    public Rectangle DrawRectangle { get; }
    Property Value
    Type Description
    System.Drawing.Rectangle

    Graphics

    Gets the printer graphics.

    Declaration
    public Graphics Graphics { get; }
    Property Value
    Type Description
    System.Drawing.Graphics

    PageCount

    Gets the total page count.

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

    PageNumber

    Gets the current page number.

    Declaration
    public int PageNumber { get; }
    Property Value
    Type Description
    System.Int32
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved