←Select platform

RenderLocked Method (AnnD2DObjectRenderer)

Summary
Renders the lock portion of the object.
Syntax
C#
VB
Public Sub RenderLocked( _ 
   ByVal mapper As AnnContainerMapper, _ 
   ByVal annObject As AnnObject, _ 
   ByVal operations As AnnFixedStateOperations _ 
)  

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. AnnD2DObjectRenderer 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 21.0.2021.3.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly