ImageMan.Net Version 3 Summer 2012 Release
Print Method
See Also  Send Feedback
DTI.ImageMan.Winforms Namespace > Annotation Class : Print Method





g
The graphics context to print on.
dstRect
The bounding rectangle on the printed page.

Glossary Item Box

Prints the Underlying Image and Annotation Marks at the specified location.

Syntax

Visual Basic (Declaration) 
Public Sub Print( _
   ByVal g As System.Drawing.Graphics, _
   ByVal dstRect As System.Drawing.Rectangle _
) 
Visual Basic (Usage)Copy Code
Dim instance As Annotation
Dim g As System.Drawing.Graphics
Dim dstRect As System.Drawing.Rectangle
 
instance.Print(g, dstRect)
C# 
public void Print( 
   System.Drawing.Graphics g,
   System.Drawing.Rectangle dstRect
)
JScript 
public function Print( 
   g : System.Drawing.Graphics,
   dstRect : System.Drawing.Rectangle
);
Managed Extensions for C++ 
public: void Print( 
   System.Drawing.Graphics* g,
   System.Drawing.Rectangle dstRect
) 
C++/CLI 
public:
void Print( 
   System.Drawing.Graphics^ g,
   System.Drawing.Rectangle dstRect
) 

Parameters

g
The graphics context to print on.
dstRect
The bounding rectangle on the printed page.

Remarks

The mapping mode for the Destination Rectangle is in MM_LOENGLISH as far as units are concerned. With 100 units per inch. Unlike LOENGLISH however the top left corner is 0,0. And positive values count down and right on the page.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

© 2014 Data Techniques, Inc. All Rights Reserved.