In This Topic
Returns a subregion of this text region.
Syntax
var instance = new Vintasoft.Imaging.WebTextRegionJS(textContent, selectionRegions, subRegions, symbols, trasfromFromDipSpace);
var value; // Type: Vintasoft.Imaging.WebTextRegionJS
// Parameters
var rect; // Type: object
var selectionMode; // Type: WebTextSelectionModeEnumJS
value = instance.getSubregion(rect, selectionMode);
Parameters
- rect
- Location and size of subregion.
- selectionMode
- An instance of WebTextSelectionModeEnumJS class that defines the selection mode for subregion.
Return Value
WebTextRegionJS object, which defines the subregion of this text region OR null if subregion does not exist.
Exceptions
| Exception | Description |
| Thrown if arguments have wrong types. |
Browser Compatibility
See Also