Annotation.ResizeToContent Method ()
.NET Framework (current version)
Resizes an annotation according to its content size.
Assembly: System.Web.DataVisualization (in System.Web.DataVisualization.dll)
Sets the annotation width and height to fit the specified text.
This method applies to TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects only.
Note |
|---|
This method requires that the annotation be added to the AnnotationCollection to function correctly. |
.NET Framework
Available since 4.0
Available since 4.0
Show:
