←Select platform

SupportsSelectionStroke Property

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

Property Value

true if this AnnObject supports drawing its selected border with a stroke; otherwise, false.

Remarks

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

Requirements

Target Platforms

See Also

Reference

AnnObject Class

AnnObject Members

Help Version 22.0.2023.7.31
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 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.