←Select platform

SupportsStroke Property

Summary
Indicates if this object supports a stroke.
Syntax
C#
Objective-C
C++/CLI
Java
Python
public virtual bool SupportsStroke { get; } 
@property (nonatomic, assign, readonly) BOOL supportsStroke; 
public boolean getSupportsStroke() 
public:  
   virtual property bool SupportsStroke 
   { 
      bool get() 
   } 
SupportsStroke # get  (AnnObject) 

Property Value

true if this AnnObject supports drawing its border with a stroke; 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 23.0.2024.2.29
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Engine Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.