[Gambas-user] Using pdf in Gambas
rolf
rolf.frogs at ...221...
Fri Dec 29 10:09:57 CET 2006
Hi Benoit,
> > I try to find any documentation or an example for the usage of gb.pdf.
> > Could somebody give me a hint.
> The component is not finished. You can just open a PDF file and gets an
> image from each page of the PDF document.
>
> This way:
>
> DIM hPDF AS NEW PDFDocument
> DIM hPict AS Picture
> DIM iPage AS Integer
>
> hPDF.Open(PdfFilePath)
> hPDF.Scale = ...
> hPDF.Rotation = ...
>
> FOR iPage = 0 TO hPDF.Count - 1
> hPict = hPDF[iPage].GetPicture()
> ...
> NEXT
>
Thanks Benoit, that helps.
Rolf
More information about the User
mailing list