MindFusion WinForms Programmer's Guide
DrawCanvasEventArgs Members
Properties Methods
 


Contains the arguments passed to handlers of the RenderContents event of the Canvas class.

The following tables list the members exposed by the DrawCanvasEventArgs type.

 Public Properties

  Name Description

Bounds

Gets the bounding rectangle of the item being rendered. (Inherited from DrawEventArgs.)

DataValue

Gets the object assigned to the target data-bound canvas. If the canvas is not data-bound, this value is null (Nothing in Visual Basic).

Graphics

Gets the IGraphics object to use for rendering. (Inherited from DrawEventArgs.)

PageCount

Gets the total number of pages in the report.

PageIndex

Gets the index of the current page.

RangeCount

Gets the total number of instances of the data range, which contains the target Canvas (if any).

RangeIndex

Gets the index of the data range instance, which contains the target Canvas (if any).

 Public Methods

  Name Description

DrawBorder

Renders the specified border around the specified rectangle in the underlying graphics. (Inherited from DrawEventArgs.)

 See Also

DrawCanvasEventArgs Class
MindFusion.Reporting Namespace