IEnumOleDocumentViewsIEnumOleDocumentViews*
*Contents  *Index  *Topic Contents
*Previous Topic: IContinueCallback::FContinuePrinting
*Next Topic: IEnumOleDocumentViews::Clone

IEnumOleDocumentViews

The IEnumOleDocumentViews interface is used to enumerate the views supported by an Active Document. IEnumOleDocumentViews has the same methods as all enumerator interfaces. For general information on these methods, see IEnumXXXX.

When to Implement

Implement IEnumOleDocumentViews on enumerator objects associated with Active Documents that support more than one view of their data.

When to Use

Use the IEnumOleDocumentViews interface to enumerate all the views supported by an Active Document. The usual procedure is to first call the IOleDocument::EnumViews method. If the Active Document supports only one view, IOleDocument::EnumViews obtains a pointer to that view. If the Active Document supports two or more views, IOleDocument::EnumViews obtains a pointer to IEnumOleDocumentViews. Using this pointer, the container can then ask the Active Document to enumerate the views it supports.

Methods in Vtable Order
Next Retrieves a specified number of items in the enumeration sequence.
Skip Skips over a specified number of items in the enumeration sequence.
Reset Resets the enumeration sequence to the beginning.
Clone Creates another enumerator that contains the same enumeration state as the current one.


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.