Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Drawing Namespace / IPathExt Class / AddRect Method
The IPath.
The rectangle bounds.
The parameter of called IPath.EndFigure.

In This Topic
    AddRect Method
    In This Topic
    Adds rect figure to the path. Note! Method calls BeginFigure and IPath.EndFigure, figureEnd used as parameter for IPath.EndFigure.
    Syntax
    'Declaration
     
    Public Shared Sub AddRect( _
       ByVal path As IPath, _
       ByVal bounds As System.Drawing.RectangleF, _
       ByVal figureEnd As FigureEnd _
    ) 
    public static void AddRect( 
       IPath path,
       System.Drawing.RectangleF bounds,
       FigureEnd figureEnd
    )

    Parameters

    path
    The IPath.
    bounds
    The rectangle bounds.
    figureEnd
    The parameter of called IPath.EndFigure.
    See Also