summaryrefslogtreecommitdiff
path: root/def.go
diff options
context:
space:
mode:
authorYash Kamothi <yash@avendahealth.com>2019-02-27 12:06:52 -0800
committerYash Kamothi <yash@avendahealth.com>2019-02-27 12:06:52 -0800
commit6766a7e6d59e243ee86f02ff6646bdbc6464bbd8 (patch)
treec69d2424368d0d0dbabd837dc09c6a01a76e44ee /def.go
parent567bef933d5649777a8b39772ad57dc9ddaba8d8 (diff)
added functionality to change the current page in the pdf document
Diffstat (limited to 'def.go')
-rw-r--r--def.go1
1 files changed, 1 insertions, 0 deletions
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)