DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

vbscript in html page SetView()

2 REPLIES 2
Reply
Message 1 of 3
Anonymous
284 Views, 2 Replies

vbscript in html page SetView()

Hi,

Can someone please tell me the parameters for SetView() since they do not
specify them in the API help. Has anyone got any more reference material for
Express Viewer because I have found autodesks to be very poor.

Thanks

Chris
2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Chris
Here's a sample from one of my pages. I agree with you about the help files.
It's a new product so hopefully the documentation will improve.

start code





Untitled





width="60%" height="90%">




end code

"Chris Wise" wrote in message
news:8DF246A2D64F9F8E01FEA1BEE2DEE896@in.WebX.maYIadrTaRb...
> Hi,
>
> Can someone please tell me the parameters for SetView() since they do not
> specify them in the API help. Has anyone got any more reference material
for
> Express Viewer because I have found autodesks to be very poor.
>
> Thanks
>
> Chris
>
>
Message 3 of 3
Anonymous
in reply to: Anonymous

Chris,

Here is a sample code:

Private Sub Form_Load()

CAdViewer1.SourcePath = "C:/tmp.dwf"

End Sub





Private Sub Command1_Click()

Dim pv as IAdPageViewer

Set pv = CAdViewer.Viewer

pv.SetView 0, 0, 10, 10 'Set a zoom window

Dim cpv as CAdPageView

Set cpv = pv.View

'Extract the current display coordinates.

Debug.Print cpv.Bottom &"," &cpv.Left &"," &cpv.Right &"," &cpv.Top

End Sub


cheers
-Thilak


"Chris Wise" wrote in message
news:8DF246A2D64F9F8E01FEA1BEE2DEE896@in.WebX.maYIadrTaRb...
> Hi,
>
> Can someone please tell me the parameters for SetView() since they do not
> specify them in the API help. Has anyone got any more reference material
for
> Express Viewer because I have found autodesks to be very poor.
>
> Thanks
>
> Chris
>
>

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report