LEADTOOLS Windows Forms (Leadtools.WinForms assembly)

Print Method

Show in webframe





The Leadtools.RasterImage to print.
The page number to print.
An System.Drawing.Printing.PrintPageEventArgs object that contains print data.
Prints the specified Leadtools.RasterImage.
Syntax
public virtual void Print( 
   RasterImage image,
   int page,
   PrintPageEventArgs e
)
'Declaration
 
Public Overridable Sub Print( _
   ByVal image As RasterImage, _
   ByVal page As Integer, _
   ByVal e As PrintPageEventArgs _
) 
'Usage
 
Dim instance As RasterImagePrinter
Dim image As RasterImage
Dim page As Integer
Dim e As PrintPageEventArgs
 
instance.Print(image, page, e)

            

            
public:
virtual void Print( 
   RasterImage^ image,
   int page,
   PrintPageEventArgs^ e
) 

Parameters

image
The Leadtools.RasterImage to print.
page
The page number to print.
e
An System.Drawing.Printing.PrintPageEventArgs object that contains print data.
Remarks

page is 1-based.

You usually call this method from your System.Drawing.Printing.PrintDocument.PrintPage event handler of a System.Drawing.Printing.PrintDocument object. You must pass the System.Drawing.Printing.PrintPageEventArgs obtained in the System.Drawing.Printing.PrintDocument.PrintPage event handler to this method as the e parameter.

Example
For an example, refer to RasterImagePrinter and ImageRectangle.
Requirements

Target Platforms

See Also

Reference

RasterImagePrinter Class
RasterImagePrinter Members
Printing An Image

 

 


Products | Support | Contact Us | Copyright Notices
© 2006-2014 All Rights Reserved. LEAD Technologies, Inc.