Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PDF::Create rotate page? 1

Status
Not open for further replies.

emilybartholomew

Technical User
Aug 3, 2001
82
0
0
US
Hi-

Does anyone have experience using PDF::Create? I'm trying to create a landscape view PDF, and can't figure out how to use the "Rotate" method for new_page. I've tried a variety of syntax, including:
'Rotate' => 90
'Rotate' => [90]
'Rotate' => '90'

I keep getting an error: "Can't use string ("90") as an ARRAY ref while "strict refs" in use at C:/../Create.pm line 184."

I can't find an example anywhere of this method being used. Has anyone else used it??

Thanks!
 
If anyone's interested - I didn't figure out how to use "Rotate" to produce a landscape page. Instead, I used the MediaBox parameter, and set it to [0 0 792 612]. This seems to work fine.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top