DIB_POSITION_UNITS

typedef enum _DIB_POSITION_UNITS

{

UNIT_PIXEL,

UNIT_MM,

UNIT_INCH

}DIB_POSITION_UNITS;

Members of the structure

UINT

UNIT_PIXEL

Pixel

UINT

UNIT_MM

1/10 millimeter

UNIT

UNIT_INCH

1/100 inch

Requirements

Header :     Declared in BiAdvPrn.h.

 

PRINT_DIBINFO

typedef struct _PRINT_DIBINFO

{

    HANDLE   DIB;

    RECT          Position;

    DIB_POSITION_UNITS      Unit;

    WCHAR                 FileName[MAX_PATH];

    int                BorderSize;

    COLORREF           BorderColor;

}PRINT_DIBINFO;

 

Members of the structure

HANDLE

DIB

Handle of the DIB

RECT

Position

Rect of the image in specified unit (pixel, 1/10 mm, 1/100 inch)

DIB_POSITION_UNITS

Unit

Specifies the unit of the measurement

char

FileName

Name of the image.

int

BorderSize

Size of the border around the image.

COLORREF

BorderColor

Color of the border.

Requirements

Header :           Declared in BiAdvPrn.h.