[Gambas-user] Understanding how to use gb.poppler instead of gb.pdf
Gianluigi Gradaschi
bagonergi at gmail.com
Mon Nov 1 12:13:26 CET 2021
Il 01/11/21 10:47, Rolf-Werner Eilert ha scritto:
> In several projects I have used gb.pdf to show PDF files (mostly as a
> printing preview). With qt5 and newer Linux versions it might be wise to
> use the newer gb.poppler instead. At least the gb.pdf is deprecated.
>
> In a first trial I simply replaced the library and expected to be lead
> by the help texts how to use gb.poppler. But as it turned out, the help
> was of no help.
>
> For instance, a simple .Open(PathToFile) seems not possible anymore, but
> there is no indication at all on how to load and show a pdf.
>
> Could someone explain to me how to achieve this? And maybe we should
> complete the help texts, especially with simple examples of how to
> handle PDF files in gb.poppler.
On Gambas Software Farm there is my example in Examples which is titled
DocumentViewPdfZoomDialog
Regards
Gianluigi
More information about the User
mailing list