LEADTOOLS JavaScript (Leadtools.Annotations.Core)

SupportsFont Property (AnnObject)

Show in webframe
Indicates if this object supports a font.
Syntax
get_supportsFont();
Object.defineProperty('supportsFont');

Property Value

TypeDescription
booleantrue if this AnnObject supports text and requires a font; otherwise, false.
Remarks

Derived classes should override SupportsStroke, SupportsFill and SupportsFont to indicate whether Stroke, Fill or Font respectively will be used by the object. This will insure that the object will save and load the values during serialization. Some object renderers will also check these values to prepare a font or a brush.

For example, a rectangle object will override this property to return true, while a line object will return false.

See Also

Reference

AnnObject Object
AnnObject Members

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.