Accusoft ImagXpress 13
CreateDIB Method
The width of the bitmap to create.
The height of the bitmap to create.

The number of bits per pixel of the created bitmap.

Valid values are 1, 4, 8, and 24.

The color of the bitmap.

Note: Value specified must be in a valid OLE_COLOR range.

Description
Creates a new solid color bitmap.
Syntax
Visual Basic
Public Sub CreateDIB( _
   ByVal IPCreateWidth As Long, _
   ByVal IPCreateHeight As Long, _
   ByVal IPCreateBits As Integer, _
   ByVal IPCreateColor As OLE_COLOR _
) 
Parameters
IPCreateWidth
The width of the bitmap to create.
IPCreateHeight
The height of the bitmap to create.
IPCreateBits

The number of bits per pixel of the created bitmap.

Valid values are 1, 4, 8, and 24.

IPCreateColor

The color of the bitmap.

Note: Value specified must be in a valid OLE_COLOR range.

Remarks

If the UndoEnabled property is True, hDIBUndo is replaced by hDIB, hDIB is replaced by the DIB resulting from this method, and the Picture property is set to the resulting image.

See Also

ImagXpress Object  | ImagXpress Members  | Image category

 

 


©2017. Accusoft Corporation. All Rights Reserved.

Send Feedback