Skip to main content

Annotation.Assign(ChartElement) Method

Copies all the settings from the Annotation object passed as the parameter.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public override void Assign(
    ChartElement obj
)

Parameters

Name Type Description
obj ChartElement

An Annotation object (which is the ChartElement descendant) whose settings are assigned to the current object. If null (Nothing in Visual Basic), then a ArgumentNullException will be thrown.

Remarks

The Assign method allows the settings of the specified Annotation object to be copied to the current Annotation object.

See Also