Error processing SSI file
(Leadtools.Annotations.Core)

Show in webframe

Font Property (AnnObject)






Gets or sets the AnnFont used associated with this AnnObject.
Syntax
public AnnFont Font {get; set;}
'Declaration
 
Public Property Font As AnnFont
public AnnFont Font {get; set;}
@property (nonatomic) LTAnnFont* font;
public AnnFont getFont()
public void setFont(AnnFont font)
            
 
get_Font();
set_Font(value);
Object.defineProperty('Font');

Property Value

The 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.

Requirements

Target Platforms

See Also

Reference

AnnObject Class
AnnObject Members

Error processing SSI file
   Leadtools.Annotations.Core requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features