Spread Windows Forms 17
FarPoint.Win.Spread Assembly / FarPoint.Win.Spread.CellType Namespace / IPaintingContext Interface / ToGdiBrush Method / ToGdiBrush(Brush,Rectangle,GraphicsPath) Method
The brush data.
The painting rectangle.
The painting graphic path.


In This Topic
    ToGdiBrush(Brush,Rectangle,GraphicsPath) Method
    In This Topic
    Gets the corresponding GDI+ brush.
    Syntax
    'Declaration
     
    
    Overloads Function ToGdiBrush( _
       ByVal brush As Brush, _
       ByVal rect As Rectangle, _
       Optional ByVal graphicsPath As GraphicsPath _
    ) As Brush
    'Usage
     
    
    Dim instance As IPaintingContext
    Dim brush As Brush
    Dim rect As Rectangle
    Dim graphicsPath As GraphicsPath
    Dim value As Brush
     
    value = instance.ToGdiBrush(brush, rect, graphicsPath)

    Parameters

    brush
    The brush data.
    rect
    The painting rectangle.
    graphicsPath
    The painting graphic path.

    Return Value

    A System.Drawing.Brush object represents the corresponding GDI+ brush.
    See Also