Gets the actual size of the 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 the 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 the barcode (in pixels).
ActualHeight
A pointer to the variable that receives the height of the barcode (in pixels).