DWF Viewer (Read Only)
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Reply
Message 1 of 2
Anonymous
355 Views, 1 Reply

Named Views

I have problems to find out how to set a named view in VB without using the
dialog box, has anyone succeded yet.

Per Savås
1 REPLY 1
Message 2 of 2
Anonymous
in reply to: Anonymous

'First, get the page viewer
Dim
pageViewer As AdPageView.CAdPageViewerClass
pageViewer =
AxCAdViewer.Viewer

 

'Next, get the collection of named
views
Dim namedViews As AdPageView.CAdCollectionClass
namedViews =
pageViewer.NamedViews

 

'Now give the user a little tour of the
named views.
Dim view As AdPageView.CAdPageViewClass
For Each view In
namedViews
    pageViewer.View = view
   
MessageBox.Show(view.name)
Next

 

> I have problems
to find out how to set a named view in VB without using the
> dialog box,
has anyone succeded yet.
>
> Per Savås
>
>
>

>
>
>

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

Post to forums