Skip to main content

XtraChartsCollectionExtensions.AddImageAnnotation(AnnotationRepository, Action<ImageAnnotation>) Method

Adds a new image annotation configured using the specified method to the specified annotations repository.

Namespace: DevExpress.Web.Mvc

Assembly: DevExpress.Web.Mvc5.v23.2.dll

NuGet Package: DevExpress.Web.Mvc5

Declaration

public static void AddImageAnnotation(
    this AnnotationRepository collection,
    Action<ImageAnnotation> annotationAction
)

Parameters

Name Type Description
collection AnnotationRepository

A repository of annotations to which a new annotation will be added.

annotationAction Action<ImageAnnotation>

A delegate method configuring a ImageAnnotation object.

Remarks

Note

This method is an extension method.

See Also