DWF Viewer

Reply
*Savås, Per
Message 1 of 2 (160 Views)

Named Views

160 Views, 1 Replies
12-07-2002 03:39 AM
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
*Cochran, Ben
Message 2 of 2 (160 Views)

Re: Named Views

12-11-2002 10:14 AM in reply to: *Savås, Per
'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
>
>
>

>
>
>

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community