Resizes an annotation according to it's content size.
Visual Basic (Declaration) | |
---|---|
Public Overridable Sub ResizeToContent() |
Visual Basic (Usage) | Copy Code |
---|---|
|
C# | |
---|---|
public virtual void ResizeToContent() |
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.
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