←Select platform

RenderLocked Method

Summary

Renders the lock portion of the object.

Syntax

C#
VB
Java
Objective-C
WinRT C#
C++
- (void)renderLockedMapper:(LTAnnContainerMapper *)mapper 
                    object:(LTAnnObject *)annObject 
                operations:(LTAnnFixedStateOperations)operations 
             
public void renderLocked(AnnContainerMapper mapper, 
                         AnnObject annObject, 
                         int annFixedStateOperations) 
             
 function Leadtools.Annotations.Rendering.AnnObjectRenderer.RenderLocked(  
   mapper , 
   annObject , 
   operations  
) 

Parameters

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

annObject
The object to render.

operations
The fixed state of the owner object.

Remarks

This method is called by the framework to render the locked portion of the object. 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.

The default implementation will obtain the picture from Resources using annObject.LockPicture as the key into the images collection. If this picture exists, then the object will render it at the top-left location of the 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