Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / GetContentRect Method / GetContentRect(UInt32) Method
The background color.

In This Topic
    GetContentRect(UInt32) Method
    In This Topic
    Returns the coordinates of a rectangle with colors different from background.
    Syntax
    'Declaration
     
    Public Overloads Function GetContentRect( _
       ByVal bgColor As System.UInteger _
    ) As System.Drawing.Rectangle
    public System.Drawing.Rectangle GetContentRect( 
       System.uint bgColor
    )

    Parameters

    bgColor
    The background color.

    Return Value

    A part of the source image excluding the margins with background color.
    See Also