Class PrintHeadlineEventArgs
Provides data for the PrintHeader and PrintFooter events of the EditControl control.
Inheritance
System.Object
System.EventArgs
PrintHeadlineEventArgs
Inherited Members
System.EventArgs.Empty
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.Edit
Assembly: Syncfusion.Edit.Windows.dll
Syntax
public class PrintHeadlineEventArgs : EventArgs
Constructors
PrintHeadlineEventArgs(Graphics, Rectangle, Int32, String)
Initializes a new instance of the PrintHeadlineEventArgs class.
Declaration
public PrintHeadlineEventArgs(Graphics g, Rectangle rect, int page, string text)
Parameters
Type | Name | Description |
---|---|---|
System.Drawing.Graphics | g | Graphics object. |
System.Drawing.Rectangle | rect | Area, reserved for headline. |
System.Int32 | page | Printed page number. |
System.String | text | Text to be printed out. |
Properties
Graphics
Gets the graphics object which is used for drawing the headline.
Declaration
public Graphics Graphics { get; }
Property Value
Type |
---|
System.Drawing.Graphics |
Handled
Gets or sets a value indicating whether printing the text has already been handled.
Declaration
public bool Handled { get; set; }
Property Value
Type |
---|
System.Boolean |
HeadlineHeight
Gets or sets the height of the headline.
Declaration
public int HeadlineHeight { get; set; }
Property Value
Type |
---|
System.Int32 |
PageNumber
Gets the number of the printed page.
Declaration
public int PageNumber { get; }
Property Value
Type |
---|
System.Int32 |
Rectangle
Gets the rectangle, reserved for headline.
Declaration
public Rectangle Rectangle { get; }
Property Value
Type |
---|
System.Drawing.Rectangle |
Text
Gets or sets text that should be printed out with default headline printing method.
Declaration
public string Text { get; set; }
Property Value
Type |
---|
System.String |