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.v20.1.dll

Declaration

public static void AddImageAnnotation(
    this AnnotationRepository collection,
    Action<ImageAnnotation> annotationAction
)
<ExtensionAttribute>
Public Shared Sub AddImageAnnotation(
    collection As AnnotationRepository,
    annotationAction As Action(Of ImageAnnotation)
)

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