←Select platform

RenderSelection Method

Summary

Renders the selected part of this object if it supports a selection stroke.

Syntax

C#
VB
Java
WinRT C#
C++
public virtual void RenderSelection( 
   AnnContainerMapper mapper, 
   AnnObject annObject 
) 
Public Overridable Sub RenderSelection( _ 
   ByVal mapper As Leadtools.Annotations.Core.AnnContainerMapper, _ 
   ByVal annObject As Leadtools.Annotations.Core.AnnObject _ 
)  
public void renderSelection(AnnContainerMapper mapper, AnnObject annObject) 
             
 function Leadtools.Annotations.Rendering.AnnObjectRenderer.RenderSelection(  
   mapper , 
   annObject  
) 
public:  
   virtual void RenderSelection( 
      AnnContainerMapper^ mapper, 
      AnnObject^ annObject 
   ) 

Parameters

mapper
The mapper object to use for converting coordinates. This value must not be null.

annObject
The object to render.

Remarks

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.

Requirements

Target Platforms

Help Version 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly