←Select platform

SupportsFill Property

Summary

Indicates if this object supports a fill.

Syntax
C#
VB
Objective-C
C++
Java
public virtual bool SupportsFill { get; } 
Public Overridable ReadOnly Property SupportsFill As Boolean 
@property (nonatomic,readonly) BOOL supportsFill; 
public boolean getSupportsFill() 
public:  
   virtual property bool SupportsFill 
   { 
      bool get() 
   } 

Property Value

true if this AnnObject supports filling its interior with a brush; 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

Help Version 20.0.2020.3.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly