Clears the text selection in the specified page or the whole document.
public bool ClearSelection(
Public Function ClearSelection(
ByVal pageNumber As Integer
) As Boolean
Page number to use. If this value is 0, then the text of all pages in the document will be used.
true if any text selection state was cleared; otherwise, false.
If the text of any of the pages that is checked is not obtained yet, then the value of AutoGetText will be used to determine whether DocumentPage.GetText is called automatically. Therefore, this method might experience a delay while the text is parsed from the document in this mode.
Medical Web Viewer .NET
.NET, Java, Android, and iOS/macOS Assemblies
C API/C++ Class Libraries