WinForms

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

    Show / Hide Table of Contents

    Class PrintHelper

    Represents the PrintHelper class which helps to print the TreeViewAdv control.

    Inheritance
    System.Object
    PrintHelper
    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.Forms.Tools
    Assembly: Syncfusion.Tools.Windows.dll
    Syntax
    public class PrintHelper

    Constructors

    PrintHelper()

    Initialize a new instance of the PrintHelper class.

    Declaration
    public PrintHelper()

    Methods

    PrintPreviewTree(TreeViewAdv, String)

    Shows a PrintPreview dialog displaying the TreeViewAdv control.

    Declaration
    public void PrintPreviewTree(TreeViewAdv pTreeView, string pTitle)
    Parameters
    Type Name Description
    TreeViewAdv pTreeView

    TreeView for print preview.

    System.String pTitle

    Title for document.

    PrintTree(TreeViewAdv, String)

    Represents to printing process of the TreeViewAdv control.

    Declaration
    public void PrintTree(TreeViewAdv pTreeView, string pTitle)
    Parameters
    Type Name Description
    TreeViewAdv pTreeView

    The TreeViewAdv which needs to be printed.

    System.String pTitle

    Tile of the document

    ToImage(TreeViewAdv)

    Represents the converts image into the TreeViewAdv.

    Declaration
    public Image ToImage(TreeViewAdv treeview)
    Parameters
    Type Name Description
    TreeViewAdv treeview

    The TreeViewAdv which needs to be printed.

    Returns
    Type Description
    System.Drawing.Image
    Back to top Generated by DocFX
    Copyright © 2001 - 2023 Syncfusion Inc. All Rights Reserved