DisplayBlankImage Method

Example-VB Example-VC++

Displays a blank image according to the dimensions specified.

Available With

Ö Imaging for Windows Professional Edition V1.0, V1.1, and V2.0
Ö Imaging for Windows 95 and 98
Ö Imaging for Windows NT 4.0

Applies To

Image Edit control

Syntax

object.DisplayBlankImage ImageWidth,ImageHeight[,ResolutionX,ResolutionY,PageType]

Arguments

Parameter Data Type Setting

ImageWidth Long The width of the image in pixels at full-scale (100 percent)
ImageHeight Long The height of the image in pixels at full-scale (100 percent)
ResolutionX Long The horizontal resolution of the image in dots per inch
ResolutionY Long The vertical resolution of the image in dots per inch
PageType Integer
(enumerated)
The desired PageType setting

Return Value

None

Remarks

When the DisplayBlankImage method is invoked with an image already displayed, it triggers a Close event.  The displayed image file is closed without being saved, and the new image data is displayed.  The value of the Image property remains unchanged.

If the ResolutionX parameter or the ResolutionY parameter is not entered, a value of 200 is used as a default.  If the PageType parameter is not entered, the Black-and-White page type is used as a default.