Skybound Rebar

RebarBandRenderer.DrawImage Method 

Draws the image for the band onto a specified Graphics object.

[Visual Basic]
Overridable Public Sub DrawImage( _
   ByVal graphics As Graphics _
)
[C#]
public virtual void DrawImage(
   Graphics graphics
);

Parameters

graphics
The Graphics surface on which the image is drawn.

Remarks

This method draws the image of a rebar band. You can obtain the bounds in which the image will be drawn by calling GetImageRectangle.

If Image is a null reference (Nothing in Visual Basic), no image is drawn.

Exceptions

Exception Type Condition
ArgumentNullException The graphics parameter was a null reference (Nothing in Visual Basic).

See Also

RebarBandRenderer Class | Skybound.Rebar.Rendering Namespace