GetActualSize Method

Navigation:  Reference Guide > Methods >

GetActualSize Method

Previous pageReturn to chapter overviewNext page

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

void GetActualSize(VARIANT_BOOL ScreenIsTarget, long TargetHDC, long *ActualWidth, long *ActualHeight);

Parameters

ScreenIsTarget

Indicates whether barcode is rendered onto computer screen or not.

TargetHDC

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

ActualHeight

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