Important: Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

Text selection in QPdfDocument



  • Hello,

    the QPdfSelection returned by getSelection(int page, QPointF start, QPointF end) function on QPdfDocument is never valid.
    but the function QPdfDocument::getAllText() works fine !
    is it really possible to get selected text with QPdfDocument::getSelection(int page, QPointF start, QPointF end) ?


Log in to reply