12.22. LabelWidth, LabelHeight Properties

Description

LabelWidth, LabelHeight - returns or sets the width and height of the working area, in measurement units specified by Measurement.

Syntax

object.LabelHeight[= Number]
object.LabelWidth[=Number] 

Remarks

Under label design mode, you need to set these two properties to the size of working area you plan to work on. The drawing can only be done within the working area; anything beyond the boundary will be clipped out.

If you are working on barcode design mode by setting AutoLabelSize to TRUE, you can not set these two properties. The working area expands and shrinks when the barcode image and comment expand or shrink.

Same as all other length properties, the actual value depends on Measurement property. If Measurement is mbxMeasureEnglish, the value is measured in mils(1/1000 inch), otherwise it is in high metric (1/1000 cm).

The default working area under label design mode is 2" by 2". When you set AutolabelSize to FALSE, Barcode ActiveX uses the default size for the working area by setting both LabelHeight and LabelWidth to 2000 mils.