signintech/gopdf

(Question) Total pages

pawelkonikpl opened this issue · 1 comments

How to check how many pages has imported pdf. I was trying something like bellow but doesn't work.

`
tpl1 := pdf.ImportPage("my.pdf", 1, "/MediaBox")

pdf.UseImportedTemplate(tpl1, 50, 100, 400, 0)

pages := pdf.GetNumberOfPages()

`

@oneplus1000 can you close this issue if it has been resolved? This seems to have been resolved.