[]
        
(Showing Draft Content)

GrapeCity.Documents.Imaging.GcBitmap.GetContentRect

GetContentRect Method

GetContentRect(Color)

Returns the coordinates of a rectangle with colors different from background.

Declaration
public Rectangle GetContentRect(Color bgColor)
Parameters
Type Name Description
Color bgColor

The background color.

Returns
Type Description
Rectangle

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

GetContentRect(uint)

Returns the coordinates of a rectangle with colors different from background.

Declaration
public Rectangle GetContentRect(uint bgColor)
Parameters
Type Name Description
uint bgColor

The background color.

Returns
Type Description
Rectangle

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