The QPdfSelection class defines a range of text that has been selected on one page in a PDF document, and its geometric boundaries. More...
This class was introduced in Qt 5.15.
|void||copyToClipboard(QClipboard::Mode mode = QClipboard::Clipboard) const|
See also QPdfDocument::getSelection().
This property holds a set of regions that the selected text occupies on the page, represented as polygons. The coordinate system for the polygons has the origin at the upper-left corner of the page, and the units are points.
Note: For now, the polygons returned from QPdfDocument::getSelection() are always rectangles; but in the future it may be possible to represent more complex regions.
text : const QString
This property holds the selected text.
This property holds whether the selection is valid.
© 2022 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.