7.3. Modify Properties

There are several dozen properties you can modify on the barcode object. Most properties are not related to each other; so changing one won't affect others. However, several exceptions exist. Changing the Symbology property will also cause the Message property to change due to the fact that different symbologies have different default Message values. Changing the measurment unit (Measurement property) will cause values of length properties to change so that the barcode sizes remain intact.

To access a specific property your application calls get_XXX and put_XXX functions. Here XXX is the property name. For example, to retrieve the vlaue of the Message property, use get_Message function. To set the Message property, use put_Message function. For a list of all properties, refer to Chapter 8, Barcode Object Properties and Methods Reference.