QRGetActualSize Function

Navigation:  Reference Guide >

QRGetActualSize Function

Previous pageReturn to chapter overviewNext page

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

void QRGetActualSize(BOOL ScreenIsTarget,

                                  DWORD TargetHDC,

                                  DWORD *ActualWidth,

                                  DWORD *ActualHeight);

Parameters

ScreenIsTarget

Indicates whether the QRCode barcode is rendered onto computer screen or not.

TargetHDC

Device context on which to render the QRCode 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 the QRCode barcode (in pixels).

ActualHeight

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