From 6766a7e6d59e243ee86f02ff6646bdbc6464bbd8 Mon Sep 17 00:00:00 2001 From: Yash Kamothi Date: Wed, 27 Feb 2019 12:06:52 -0800 Subject: added functionality to change the current page in the pdf document --- def.go | 1 + 1 file changed, 1 insertion(+) (limited to 'def.go') diff --git a/def.go b/def.go index f19e86b..12b5edf 100644 --- a/def.go +++ b/def.go @@ -442,6 +442,7 @@ type Pdf interface { SetMargins(left, top, right float64) SetPageBoxRec(t string, pb PageBox) SetPageBox(t string, x, y, wd, ht float64) + SetPage(pageNum int) SetProtection(actionFlag byte, userPassStr, ownerPassStr string) SetRightMargin(margin float64) SetSubject(subjectStr string, isUTF8 bool) -- cgit v1.2.1-24-ge1ad