| Visual Basic (Declaration) | |
|---|---|
Protected Sub Prepare( _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal dpiX As Single, _ ByVal dpiY As Single, _ ByVal e As PrintPageEventArgs _ ) | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| Managed Extensions for C++ | |
|---|---|
protected: void Prepare( int width, int height, float dpiX, float dpiY, PrintPageEventArgs e ) | |
| C++/CLI | |
|---|---|
protected: void Prepare( int width, int height, float dpiX, float dpiY, 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 PrintPageEventArgs object that contains print data.
Derive classes should call this method from Print to prepare the SourceRectangle, DestinationRectangle and DestinationClipRectangle properties.
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family