Skip to main content
A newer version of this page is available. .
.NET Framework 4.5.2+

IDocumentVisitor Interface

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

Assembly: DevExpress.RichEdit.v19.1.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.

The following code snippets (auto-collected from DevExpress Examples) contain references to the IDocumentVisitor interface.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also