←Select platform

AutoSize Method

Summary

Adjusts this AnnTextObject object so its bounds closely fits its contents.

Syntax
C#
VB
Objective-C
C++
Java
public void AutoSize() 
Public Sub AutoSize() 
public:  
   void AutoSize() 
public void autoSize() 
- (void)autoSize 
Remarks

Call this method to change the bounds value to closely fit its contents. The engine will automatically add the correct space around the text for the current font style and size leading and take into consideration the border size.

Requirements
Target Platforms
Help Version 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly