Skip to main content
A newer version of this page is available. .

IDocumentVisitor Interface

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v18.2.Core.dll

Declaration

public interface IDocumentVisitor

Remarks

The Visitor pattern allows you to create a separate visitor concrete class for each type of operation, and to separate this operation implementation from the objects structure. Refer to the How to: Retrieve the List of Document Fonts using the Visitor-Iterator Pattern topic for more details.

Note

The DocumentVisitorBase class implements the IDocumentVisitor interface by default. Since the interface’s implementation can be modified, we recommend using the DocumentVisitorBase class instead creating of your own to avoid compile-time errors.

See Also