Prepares this RasterImagePrinter object state for printing.
protected virtual void Prepare(
int width,
int height,
float dpiX,
float dpiY,
PrintPageEventArgs e
)
Protected Sub Prepare( _
ByVal width As Integer, _
ByVal height As Integer, _
ByVal dpiX As Single, _
ByVal dpiY As Single, _
ByVal e As PrintPageEventArgs _
)
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.
Derive classes should call this method from Print to prepare the SourceRectangle, DestinationRectangle and DestinationClipRectangle properties.
For an example, refer to RasterImagePrinter and ImageRectangle.
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET