WorksheetGetRegionsBounds Method
Calculates bounds of the selected Regions.
Namespace: SMath.ControlsAssembly: SMath.Controls (in SMath.Controls.dll) Version: 1.2.9018.0
public Rectangle GetRegionsBounds(
bool selected,
int sizeLimit = 0
)
Public Function GetRegionsBounds (
selected As Boolean,
Optional sizeLimit As Integer = 0
) As Rectangle
public:
Rectangle GetRegionsBounds(
bool selected,
int sizeLimit = 0
)
member GetRegionsBounds :
selected : bool *
?sizeLimit : int
(* Defaults:
let _sizeLimit = defaultArg sizeLimit 0
*)
-> Rectangle
- selected Boolean
- Whether selected Regions only must be taken in account.
- sizeLimit Int32 (Optional)
- Maximum limit of the pixels count. Set 0 for no limits.
RectangleBounding rectangle for the selected Regions.