Cuminas DjVu SDK for .NET Framework
DrawMapAreas Method



A Graphics object to draw on. This method overlays the objects over the existing image.
Left-top location on the Graphics object to draw on.
Area on the page image to draw.
Whole page image size, by which the area is defined.
Delegate to determine the state of each annotation object.
Draws annotation objects within the specified area of the page.
Syntax
Public Sub DrawMapAreas( _
   ByVal g As Graphics, _
   ByVal pt As Point, _
   ByVal rect As Rectangle, _
   ByVal imageSize As Size, _
   ByVal getMapAreaState As GetMapAreaVisualStateCallback _
) 
Dim instance As Annotation
Dim g As Graphics
Dim pt As Point
Dim rect As Rectangle
Dim imageSize As Size
Dim getMapAreaState As GetMapAreaVisualStateCallback
 
instance.DrawMapAreas(g, pt, rect, imageSize, getMapAreaState)

Parameters

g
A Graphics object to draw on. This method overlays the objects over the existing image.
pt
Left-top location on the Graphics object to draw on.
rect
Area on the page image to draw.
imageSize
Whole page image size, by which the area is defined.
getMapAreaState
Delegate to determine the state of each annotation object.
Requirements

Target Platforms: Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

Reference

Annotation Class
Annotation Members

Send Feedback