Products | Support | Email a link to this topic. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 19.0.6.22
|
Leadtools.Annotations.Rendering Namespace > AnnD2DObjectRenderer Class : RenderSelection Method |
public virtual void RenderSelection( AnnContainerMapper mapper, AnnObject annObject )
'Declaration
Public Overridable Sub RenderSelection( _ ByVal mapper As AnnContainerMapper, _ ByVal annObject As AnnObject _ )
'Usage
Dim instance As AnnD2DObjectRenderer Dim mapper As AnnContainerMapper Dim annObject As AnnObject instance.RenderSelection(mapper, annObject)
public virtual void RenderSelection( AnnContainerMapper mapper, AnnObject annObject )
This method is called by the framework to render the selected part of the object if it supports a selection stroke. This is usually called from RenderContainer if the value of AnnObject.SupportsSelectionStroke is true and the object is selected.
Rendering engine will usually use AnnObject.SelectionStroke to draw a rectangle around the object support. This can be done along with rendering the selection thumbs as usual, although most annotation objects types use one more or the other but not both.