.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

IDocumentVisitor Interface

Interface implementing the Visitor pattern.

Namespace: DevExpress.XtraRichEdit.API.Native

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

Declaration

public interface IDocumentVisitor
Public Interface IDocumentVisitor
public interface IDocumentVisitor
Public Interface IDocumentVisitor
public interface IDocumentVisitor
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