View Single Post
  #3  
Old 03-24-2013, 08:53 PM
dcnieho dcnieho is offline
Member
 
Join Date: Feb 2011
Posts: 59
Thank you, that works. However, I wanted to specify the viewport in pixels directly, and I found an error in the manual.

The callsyntax of the setSize function is either setSize([width,height]), or setSize(width,height,flag), not setSize([width,height],flag).

Took me a while to figure that out, didn't expect the doc to be wrong. All works now.

Best,
Dee
Reply With Quote