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);
function getSubregion(
rectLocation and size of subregion.: object,
selectionModeAn instance of WebTextSelectionModeEnumJS class that defines the selection mode for subregion.: WebTextSelectionModeEnumJS
) : WebTextRegionJS;
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.