LEADTOOLS JavaScript (Leadtools.Annotations.Core)

Font Property (AnnObject)

Show in webframe
Gets or sets the AnnFont used associated with this AnnObject.
Syntax
get_font();
set_font(value);
Object.defineProperty('font');

Property Value

TypeDescription
AnnFontThe AnnFont used to draw this AnnObject. The default value is "Arial" 12pt size.
Remarks

This property should be used as the font properties used when drawing the text of this object. Each object renderer is responsible for determining whether to use this property. For example, the renderer for AnnTextObject will use this property to create a device font and use it to draw its Text string. Setting Font to null will stop the object from rendering its text.

Example

For an example, refer to AnnTextObject.

See Also

Reference

AnnObject Object
AnnObject Members

 

 


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