New to Telerik UI for WinForms? Start a free 30-day trial

Renders a notes box with a heading and either a single writing line or repeated ruled lines.

Definition

Constructors

Creates a notes area labeled "Notes" with an outer border.

C#
public NotesAreaPrintElement()

Properties

Gets or sets the height reserved at the top for the notes heading.

C#
public int HeaderHeight { get; set; }

Gets or sets whether the notes area uses repeated writing lines instead of one line beneath the heading.

C#
public bool ShowLines { get; set; }

Methods

Paints the outer border and the writing line or ruled lines below the heading.

C#
protected override void PaintBorder(Graphics g, Rectangle rect)
Parameters:gGraphics

The graphics surface used to draw the border and lines.

rectRectangle

The notes area bounds.

Overrides: RadPrintElement.PaintBorder(Graphics, Rectangle)

Paints the element's text within the heading area.

C#
protected override void PaintText(Graphics g, Rectangle rect)
Parameters:gGraphics

The graphics surface used to draw the heading.

rectRectangle

The full notes area bounds.

Overrides: RadPrintElement.PaintText(Graphics, Rectangle)