DS.Documents.Imaging Assembly / GrapeCity.Documents.Imaging Namespace / GcBitmap Class / GetContentRect Method / GetContentRect(Color) Method
The background color.

In This Topic
GetContentRect(Color) 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.Drawing.Color _
) As System.Drawing.Rectangle
 

Parameters

bgColor
The background color.

Return Value

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