←Select platform

SupportsFont Property (AnnObject)

Summary

Indicates if this object supports a font.

Syntax

C#
VB
Java
Objective-C
WinRT C#
public virtual bool SupportsFont {get;}
Public Overridable ReadOnly Property SupportsFont As Boolean
public virtual bool SupportsFont {get;}
@property (nonatomic,readonly) BOOL supportsFont;
public boolean getSupportsFont()
get_SupportsFont();

Property Value

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

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

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