supportsFill Property


Indicates if this object supports a fill.

Object.defineProperty(AnnObject.prototype, 'supportsFill', 
	get: function() 
supportsFill: boolean; // read-only 

Property Value

true if this AnnObject supports filling its interior with a brush; otherwise, false.


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.

Target Platforms
Help Version 21.0.2021.3.9
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly