Map for WinForms | ComponentOne
C1.Win.Map Namespace / MarkerImageShape Class / GetDrawingBounds Method
The graphics used to paint.
The origin location and size to draw the shape.
The sytle used to draw the shape.

In This Topic
    GetDrawingBounds Method (MarkerImageShape)
    In This Topic
    Gets the drawing bounds of the shape.
    Syntax
    'Declaration
     
    
    Public Overrides Function GetDrawingBounds( _
       ByVal g As Graphics, _
       ByVal bounds As RectangleF, _
       ByVal style As Style _
    ) As RectangleF
    public override RectangleF GetDrawingBounds( 
       Graphics g,
       RectangleF bounds,
       Style style
    )

    Parameters

    g
    The graphics used to paint.
    bounds
    The origin location and size to draw the shape.
    style
    The sytle used to draw the shape.

    Return Value

    The actual drawing bounds of the shape.
    See Also