VintaSoft Imaging .NET SDK 15.1: Documentation for Web developer
Vintasoft.Imaging.Pdf Namespace / WebPdfTextBlockJS type / containsPoint Property
Syntax Exceptions BrowserCompatibility SeeAlso
In This Topic
containsPoint Method
In This Topic
Returns a value indicating whether this text block contains specified point.
Syntax
var instance = new Vintasoft.Imaging.Pdf.WebPdfTextBlockJS(number, textContent, htmlContent, region);

var value; // Type: boolean

// Parameters
var point; // Type: object
var canResizeSelectedText; // Type: boolean

value = instance.containsPoint(point, canResizeSelectedText);

Parameters

point
Point in coordinate system of PDF page.
canResizeSelectedText
A value indicating whether the resize points must be taken into account.

Return Value

True - text block contains point; otherwise, False.
Exceptions
ExceptionDescription
Thrown if argument has wrong type.
Browser Compatibility
56+
45+
11
See Also