On Sat, Dec 28, 2024 at 6:20 PM Thomas Passin wrote:
If you want to set the initial zoom factor, which is the main problem I've
> had to deal with, you can add a fragment identifier to the QUrl, like this:
>
> url = QUrl.fromLocalFile(pdf_path)
> url.setFragment("zoom=200")
>
> There are a few other settings that can be set with a fragment
> identifier. See Section 3 here <https://www.rfc-editor.org/rfc/rfc8118>.
>
That works!!! Many thanks for this tip.
Edward
--
You received this message because you are subscribed to the Google Groups
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/leo-editor/CAMF8tS1hBYeSBs5xes9GTPU_MRxvYFT6OGiLzM7ThjFWzvZJaw%40mail.gmail.com.