Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.4.6
|
Leadtools.Annotations.Core Namespace > AnnObject Class : SupportsSelectionStroke Property |
public virtual bool SupportsSelectionStroke {get;}
'Declaration
Public Overridable ReadOnly Property SupportsSelectionStroke As Boolean
public virtual bool SupportsSelectionStroke {get;}
@property (nonatomic,readonly) BOOL supportsSelectionStroke;
public boolean getSupportsSelectionStroke()
get_SupportsSelectionStroke();
Derived classes should override SupportsSelectionStroke, to indicate whether SelectionStroke 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 text hilite object will override this property to return true, while a line object will return false.
When the object supports a selection stroke, the IAnnObjectRenderer for it will use the value of SelectionStroke to draw a rectangle around the boundary of the object when it is selected (IsSelected is true).