Skip to main content
A newer version of this page is available. .

Annotation.Height Property

Specifies the height (in pixels) of the annotation.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
[XtraSerializableProperty]
[ResetNotSupported]
public int Height { get; set; }

Property Value

Type Description
Int32

An integer value specifying the annotation’s height, in pixels.

Remarks

Use the Height and Annotation.Width properties, to explicitly define an annotation’s dimensions.

For TextAnnotations, these properties are in effect only when the TextAnnotation.AutoSize property is disabled. And, for ImageAnnotations, these properties are in effect only when the ImageAnnotation.SizeMode is not AutoSize.

For more information, refer to Annotations Position and Layout.

See Also