signintech / gopdf

A simple library for generating PDF written in Go lang

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

(Question) Total pages

pawelkonikpl opened this issue · 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.