Skip to main content

RichEditCustomMarkDrawEventArgs(Graphics, CustomMarkVisualInfoCollection) Constructor

Initializes a new instance of the RichEditCustomMarkDrawEventArgs class with the specified settings.

Namespace: DevExpress.XtraRichEdit

Assembly: DevExpress.XtraRichEdit.v23.2.dll

NuGet Packages: DevExpress.Win.PivotGrid, DevExpress.Win.RichEdit, DevExpress.Win.TreeMap

Declaration

public RichEditCustomMarkDrawEventArgs(
    Graphics graphics,
    CustomMarkVisualInfoCollection visualInfoCollection
)

Parameters

Name Type Description
graphics Graphics

A Graphics object that provides GDI+ drawing functionality.

visualInfoCollection DevExpress.XtraRichEdit.Layout.Export.CustomMarkVisualInfoCollection

A DevExpress.XtraRichEdit.Layout.Export.CustomMarkVisualInfoCollection collection containing custom marks visual info.

Remarks

The RichEditCustomMarkDrawEventArgs is created automatically and passed to the handler of the RichEditControl.CustomMarkDraw event.

See Also