←Select platform

Prepare Method

Summary

Prepares this RasterImagePrinter object state for printing.

Syntax
C#
VB
C++
protected virtual void Prepare( 
   int width, 
   int height, 
   float dpiX, 
   float dpiY, 
   PrintPageEventArgs e 
) 
Protected Overridable Sub Prepare( 
   ByVal width As Integer, 
   ByVal height As Integer, 
   ByVal dpiX As Single, 
   ByVal dpiY As Single, 
   ByVal e As System.Drawing.Printing.PrintPageEventArgs 
) 
protected:  
   virtual void Prepare( 
      int width, 
      int height, 
      Single dpiX, 
      Single dpiY, 
      System::Drawing::Printing::PrintPageEventArgs^ e 
   ) 

Parameters

width

Width of the image to print.

height

Height of the image to print.

dpiX

Horizontal DPI value of the image to print.

dpiY

Vertical DPI value of the image to print.

e

An System.Drawing.Printing.PrintPageEventArgs object that contains print data.

Remarks

Derive classes should call this method from Print to prepare the SourceRectangle, DestinationRectangle and DestinationClipRectangle properties.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.