BCGetActualSize Function

Navigation:  Reference Guide >

BCGetActualSize Function

Previous pageReturn to chapter overviewNext page

Gets the actual size of barcode which is rendered onto either computer screen or other devices such as printers.

void BCGetActualSize(BOOL ScreenIsTarget,

                                 DWORD TargetHDC,

                                 DWORD *ActualWidth,

                                 DWORD *ActualHeight);

Parameters

ScreenIsTarget

Indicates whether barcode is rendered onto computer screen or not.

TargetHDC

Device context on which to render the barcode, if the parameter ScreenIsTarget is set to TRUE, set this parameter to NULL.

ActualWidth

A pointer to the variable that receives the width of barcode (in pixels).

ActualHeight

A pointer to the variable that receives the height of barcode (in pixels).