'Declaration
Overloads Function ToGdiBrush( _ ByVal fill As Fill, _ ByVal rect As Rectangle, _ ByRef disposable As Boolean _ ) As Brush
'Usage
Dim instance As IPaintingContext Dim fill As Fill Dim rect As Rectangle Dim disposable As Boolean Dim value As Brush value = instance.ToGdiBrush(fill, rect, disposable)
Parameters
- fill
- The brush data.
- rect
- The painting rectangle.
- disposable
true
if the brush can be disposable; otherwise,false
.
Return Value
A System.Drawing.Brush object represents the corresponding GDI+ brush.