GetContentRect(UInt32) Method
Returns the coordinates of a rectangle with colors different from background.
public System.Drawing.Rectangle GetContentRect(
System.uint
)
'Declaration
Public Overloads Function GetContentRect( _
ByVal As System.UInteger _
) As System.Drawing.Rectangle
Parameters
- bgColor
- The background color.
Return Value
A part of the source image excluding the margins with background color.