Accusoft ImagXpress 12
CreateDIB Method
See Also  Send comments on this topic.
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.

AccusoftImagXpress12 ActiveX DLL > ImagXpress Object : CreateDIB Method

Glossary Item Box

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

©2013. Accusoft Corporation. All Rights Reserved.