Documents for PDF .NET Edition
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.
    Public Overloads Function GetContentRect( _
       ByVal bgColor As System.UInteger _
    ) As System.Drawing.Rectangle
    public System.Drawing.Rectangle GetContentRect( 
       System.uint bgColor


    The background color.

    Return Value

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