[]
Returns the coordinates of a rectangle with colors different from background.
public Rectangle GetContentRect(Color bgColor)
Public Function GetContentRect(bgColor As Color) As Rectangle
| Type | Name | Description |
|---|---|---|
| Color | bgColor | The background color. |
| Type | Description |
|---|---|
| Rectangle | A part of the source image excluding the margins with background color. |
Returns the coordinates of a rectangle with colors different from background.
public Rectangle GetContentRect(uint bgColor)
Public Function GetContentRect(bgColor As UInteger) As Rectangle
| Type | Name | Description |
|---|---|---|
| uint | bgColor | The background color. |
| Type | Description |
|---|---|
| Rectangle | A part of the source image excluding the margins with background color. |