Leadtools.Windows.Annotations Requires Document/Medical license. | Send comments on this topic. | Back to Introduction - All Topics | Help Version 16.5.9.25
RenderLocked Method
See Also 
Leadtools.Windows.Annotations Namespace > AnnObjectBase Class : RenderLocked Method



drawingContext
The DrawingContext that defines the AnnButtonObject locked picture to be drawn.
drawingContext
The DrawingContext that defines the AnnButtonObject locked picture to be drawn.
Draws this AnnObjectBase locked picture on the specified drawing context.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub RenderLocked( _
   ByVal drawingContext As DrawingContext _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnObjectBase
Dim drawingContext As DrawingContext
 
instance.RenderLocked(drawingContext)
C# 
protected virtual void RenderLocked( 
   DrawingContext drawingContext
)
C++/CLI 
protected:
virtual void RenderLocked( 
   DrawingContext drawingContext
) 

Parameters

drawingContext
The DrawingContext that defines the AnnButtonObject locked picture to be drawn.

Remarks

This method is called internally by the annotation framework whenever the AnnObjectBase.OnRender method is called. You do not need to call this method directly.

If an object not locked, this method will not be called.

By default, this method will draw the picture stored at the owner AnnObjectBase.Container.LockPicture property. This picture will be drawn at the upper-left edge of the bounding rectangle of this AnnObjectBase.

Requirements

Target Platforms: Microsoft .NET Framework 3.0, Windows XP, Windows Vista, and Windows Server 2003 family

See Also

RenderLocked requires a Document/Medical product license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features and Unlocking Special LEAD Features.