TBarCode Library 11  TBarCode Library 11

◆ BCGetTextAreaHeight()

DOUBLE TECIT_STDCALL BCGetTextAreaHeight ( t_BarCode pBarCode,
LPRECT  pRectBounding,
HDC  hDC,
e_MUnit  eUnit 
)

Returns the height of the human readable text area.

Returns the height of the human readable text area in the specified measurement unit.
hDC can be NULL. In this case the bounding rectangle must be specified in 1/1000 mm. The measurement units are:

  • #eMUDefault ... logical units of the given device context.
  • #eMUMM ... millimeters
  • #eMUPixel ... pixels if device context is given, otherwise points (= 1/72 inch)
    Parameters
    [in]pBarCodePointer to barcode structure.
    [in]pRectBoundingBounding rectangle.
    [in]hDCDevice context handle.
    [in]eUnitMeasurement unit.
    Return values
    0If no text-area used for barcode.
    >0Height of text-area in the specified measurement units.

© 2022 All rights reserved by TEC-IT Datenverarbeitung GmbH
Generated on Wed May 18 2022 11:16:25 for TBarCode Library 11 with doxygen 1.8.17