Language: ChineseGermanSpanishFrenchDutchItalianRussian
123 Flash Chat Forums

Go Back   TOPCMM Community > SWFKit > SWFKit Support

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 12-19-2007, 10:00 PM
Junior Member
 
Join Date: Dec 2007
Posts: 5
Default PDF ACTIVE X PROPERTY

I can set the property, heres my code.

var fp = createControl("vspdfviewerx.vspdfviewer", 100, 0, 1024, 768);
fp.activex.Load("c:\\my.pdf", "");
fp.activex.setProperty("ViewerTool", 'VSVIEWERTOOL_Zoom');

I also try this ways
fp.activex.setProperty("ViewerTool", "VSVIEWERTOOL_Zoom");
fp.activex.ViewerTool = 'VSVIEWERTOOL_Zoom';

This is the information of the ActiveX

VSPDFViewerX properties

ViewerTool
Select the current viewer tool
VSVIEWERTOOL_None
VSVIEWERTOOL_TextSelect = activates text selection tool
VSVIEWERTOOL_Zoom = activates the zoom tool
VSVIEWERTOOL_GraphicSelect = activates the graphics selection tool
Reply With Quote
  #2 (permalink)  
Old 12-20-2007, 04:59 AM
Junior Member
 
Join Date: Dec 2007
Posts: 5
Default Re: PDF ACTIVE X PROPERTY

Solved, im not a C++ programer, so i find this solution, perhaps odd, perhaps not. But well the values of those "constants" or whatever was numeric values.

Its a library from visagesoft, just in case anyone is using it.
Reply With Quote
Reply

Was this information helpful?    Yes No



Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT. The time now is 04:43 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.1.0 ©2007, Crawlability, Inc.