autoSize Method (AnnTextObject)

Summary

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

Syntax

JavaScript Syntax
AnnTextObject.prototype.autoSize = function()
TypeScript Syntax
autoSize(): void;

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 takes into consideration the border size.

Requirements

Target Platforms

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.Annotations.Core Assembly
Click or drag to resize