←Select platform

RenderThumbs Method

Summary

Renders the thumbs of an object.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
- (void)renderThumbsMapper:(LTAnnContainerMapper *)mapper 
           thumbsLocations:(LTLeadPointCollection *)thumbLocations 
                operations:(LTAnnFixedStateOperations)operations 
             
public void renderThumbs(AnnContainerMapper mapper,  
                         LeadPointD[] thumbLocations,  
                         int annFixedStateOperations) 
             
 function Leadtools.Annotations.Rendering.AnnObjectRenderer.RenderThumbs(  
   mapper , 
   thumbLocations , 
   operations  
) 
public:  
   virtual void RenderThumbs( 
      AnnContainerMapper^ mapper, 
      array<LeadPointD^>^ thumbLocations, 
      AnnFixedStateOperations^ operations 
   ) 

Parameters

mapper
The mapper object to use for converting coordinates. Must not be null.

thumbLocations
Locations of the thumbs in container coordinates.

operations
The fixed state of the owner object.

Remarks

This method is called by the framework to render the object thumbs (when the object is in a selected state). AnnObjectRenderer contains all the information required to render the thumbs, therefore, most of the derived classes implementation do not override this method and uses the default implementation instead.

This method will use LocationsThumbStyle to render the thumbs by iterating and passing each item in thumbLocations to LocationsThumbStyle.Render passing mapper and operations. If LocationsThumbStyle is set to null, then no thumbs are rendered by this object.

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