LEADTOOLS Annotations (Leadtools.Annotations assembly) Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
DrawLocked Method
See Also 
Leadtools.Annotations Namespace > AnnObject Class : DrawLocked Method



graphics
The Graphics surface on which to draw this AnnObject locked picture.

The DrawLocked Method is available in LEADTOOLS Document and Medical Imaging toolkits.

graphics
The Graphics surface on which to draw this AnnObject locked picture.
Draws this AnnObject locked picture on the specified surface.

Syntax

Visual Basic (Declaration) 
Protected Overridable Sub DrawLocked( _
   ByVal graphics As Graphics _
) 
Visual Basic (Usage)Copy Code
Dim instance As AnnObject
Dim graphics As Graphics
 
instance.DrawLocked(graphics)
C# 
protected virtual void DrawLocked( 
   Graphics graphics
)
C++/CLI 
protected:
virtual void DrawLocked( 
   Graphics^ graphics
) 

Parameters

graphics
The Graphics surface on which to draw this AnnObject locked picture.

Remarks

This method is called internally by the annotation framework whenever the AnnObject.Draw 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 AnnObject.Container.LockPicture property. This picture will be drawn at the upper-left edge of the bounding rectangle of this AnnObject.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Annotations requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features