Class PrintHelper
Represents the PrintHelper class which helps to print the TreeViewAdv control.
Inheritance
System.Object
PrintHelper
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
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 |
---|
System.Drawing.Image |