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

Provides the print element, graphics surface, and bounds used for painting.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class PrintElementPaintEventArgs : PrintElementEventArgs

Inheritance: objectEventArgsPrintElementEventArgsPrintElementPaintEventArgs

Inherited Members PrintElementEventArgs.PrintElementEventArgs.Empty

Constructors

Initializes paint event data for an element and its drawing surface and bounds.

C#
public PrintElementPaintEventArgs(RadPrintElement element, Graphics graphics, Rectangle bounds)
Parameters:elementRadPrintElement

The print element being painted.

graphicsGraphics

The graphics surface used for painting.

boundsRectangle

The initial bounds associated with the painting operation.

Properties

Gets the bounds in which the element is being painted.

C#
public Rectangle Bounds { get; set; }

Gets the graphics object which is used for painting.

C#
public Graphics Graphics { get; }