BiGetItemFromDibInfo

Description         This method retrieves information about DIBs on the preview dialog.

Syntax                 RetVal = [BiAdvPrn.]BiGetItemFromDibInfo DibInfo Num Dib Left Top Right Bottom Unit FileName BorderSize BorderColorR BorderColorG BorderColorB

Returns               RetVal                    BOOL             TRUE on success, otherwise FALSE.

Remarks             DibInfo                  LONGLONG Handle of the Dib Info structures.

                            Num                       Short               Zero based integer. Num-th DIB information will be retrieved.

                            Dib                          LONGLONG Handle of the Dib.

                            Left                         Short*             Left coordinate of the image on the dialog.

                            Top                         Short*             Top coordinate of the image on the dialog.

                            Right                      Short*             Right coordinate of the image on the dialog.

                            Bottom                   Short*             Bottom coordinate of the image on the dialog.

                            Unit                        Short*             Specifies the measurement of the parameters (left, right, bottom, top, BorderSize)

                                                                                    Available Values:

                                                                                    UNIT_PIXEL: pixel

                                                                                    UNIT_MM: 1/10 millimeter

                                                                                    UNIT_INCH: 1/100 inch

                            FileName                String*            Name of the image file.

                            BorderSize             Short*             Size of the border around the image in the specified measurement.

                            BorderColorR       Short*             Red component of the color of the border.

                            BorderColorG       Short*             Green component of the color of the border.

                            BorderColorB       Short*             Blue component of the color of the border.

See Also              BiGetNumberOfItemsInDibInfo Method, UserMenu Event