Dundas Chart for ASP.NET
ResizeToContent Method
See Also  Send comments on this topic.
Dundas.Charting.WebControl Namespace > Annotation Class : ResizeToContent Method


Enterprise Only Feature. Resizes an annotation according to it's content size.
Resizes an annotation according to it's content size.

Syntax

Visual Basic (Declaration)  
Public Overridable Sub ResizeToContent() 
Visual Basic (Usage) Copy Code
Dim instance As Annotation
 
instance.ResizeToContent()
C#  
public virtual void ResizeToContent()

Remarks

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 must be added to the AnnotationCollection to function correctly.


Sets the annotation width and height to fit the specified text. This method applies to TextAnnotation, RectangleAnnotation, EllipseAnnotation and CalloutAnnotation objects only.

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Copyright © 2001 - 2009 Dundas Data Visualization, Inc. and others.