Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

DynaPDF.Parser.SelectionText

Retrieves the text and text length of the current selection or found text.

Component Version macOS Windows Linux Server iOS SDK
DynaPDF 14.1 ✅ Yes ✅ Yes ✅ Yes ✅ Yes ✅ Yes
MBS( "DynaPDF.Parser.SelectionText"; PDF )   More

Parameters

Parameter Description Example
PDF The PDF reference. $pdf

Result

Returns text or error.

Description

Retrieves the text and text length of the current selection or found text.
The function is useful if FindText() was called with the search type MatchAlways. In this case, and only in this case, it is not known which text FindText() has found.

See also

Release notes

Blog Entries

This function checks for a license.

Created 28th February 2024, last changed 28th February 2024


DynaPDF.Parser.SelectionBBox - DynaPDF.Parser.SetAltFont