VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging Namespace / WebTextRegionJS type / getSubregion Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
getSubregion Method
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
ExceptionDescription
Thrown if arguments have wrong types.
Browser Compatibility
56+
45+
11
See Also