12.53. Load Method

Description

Load the Barcoce ActiveX object from a file, in binary or XML format.

Syntax

object.Load Destination, PersistFormat 
  • Destination

    A Variant that represents the complete path name of the file where the object is to be saved.

  • PersistFormat

    Optional. A PersistFormatEnum value that specifies the format in which the object is to be saved (XML or Bianry). The default value is mbxPersistBinary.

Remarks

The Load method loads the property data and draws the barcode image based on the data loaded. The PersistFormat can be one of these values:

Table 12.10. PersistFormat options (Load method)

Constant Value Description
mbxPersistBinary 0 Binary Format
mbxPersistXML 1 XML Format