Documentation ¶
Overview ¶
Package pdfutil provides info on and rotates pdf files. The page sizing information is simplified to only report on the first page.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Orientation ¶
type Orientation int
Orientation determines the orientation of a pdf file
func (Orientation) String ¶
func (o Orientation) String() string
String represents the string of the enum
type PDFFile ¶
type PDFFile struct { FilePath string Pages int Width float64 Height float64 Orientation Orientation }
PDFFile represents a pdf file
func (*PDFFile) Rotate ¶
Rotate rotates a pdf file by the specified degrees; copyFile can be an empty string to overwrite the original file
func (*PDFFile) RotateCopy ¶
RotateCopy rotates a pdf file by the specified degrees; copyFile can be an empty string to overwrite the original file
Click to show internal directories.
Click to hide internal directories.