Increase Zoom In Limit (> 250%)

Using Print2Flash Document API
Post Reply
kns
Posts: 2
Joined: Sun Apr 29, 2012 2:41 pm

Increase Zoom In Limit (> 250%)

Post by kns » Sun Apr 29, 2012 2:46 pm

Is it possible to increase the Zoom In Limit. Using either the zoom scroller or the api (with as2) I can't zoom in closer than 250%.

Is is possible to increase this limit or override it?

Thank you

staff
Posts: 281
Joined: Sat Dec 15, 2007 4:48 pm

Re: Increase Zoom In Limit (> 250%)

Post by staff » Wed May 02, 2012 3:43 pm

There is no documented method to achieve this with Document API. However, you may use this undocumented code by executing it, for example, in the onLoaded event handler:

Code: Select all

var P2FListener=new Object()
P2FListener.onLoaded=function (p2f) {
	p2f.maxZoom=p2f.ScaleSlider.Max=300	
}
You should pass P2FListener as an eventSink argument of LoadPrint2FlashDoc function you use to load the document.

kns
Posts: 2
Joined: Sun Apr 29, 2012 2:41 pm

Re: Increase Zoom In Limit (> 250%)

Post by kns » Tue May 08, 2012 4:58 am

Thank you for the reply.

It worked perfectly.

Post Reply