corelibraries-devexpress-dot-xtracharts-dot-annotation-2fa3c206.md
Specifies the width (in pixels) of the annotation.
Namespace : DevExpress.XtraCharts
Assembly : DevExpress.XtraCharts.v25.2.dll
NuGet Package : DevExpress.Charts
[ResetNotSupported]
[XtraChartsLocalizableCategory(XtraChartsCategory.Layout)]
public int Width { get; set; }
<XtraChartsLocalizableCategory(XtraChartsCategory.Layout)>
<ResetNotSupported>
Public Property Width As Integer
| Type | Description |
|---|---|
| Int32 |
An integer value specifying the annotation’s width, in pixels.
|
Use the Annotation.Height and 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.
See Also