|
|||
|
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 |
|
|||
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. |
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|