LoadOptions

LoadOptions class

Allows to specify additional options when loading a diagram into a Diagram object.

Constructors

NameDescription
LoadOptionsInitializes a new instance of this class with default values. Default file format is set as LoadFileFormat .
LoadOptionsInitializes a new instance of this class with the format specified.

Properties

NameTypeDescription
LoadFormatintSpecifies the format of the diagram to be loaded. Default is LoadFileFormat . Read/write LoadFileFormat . The value of t
PagesArrayListSpecifies the index of the pages to be loaded.
LoadFilterLoadFilterThe filter to denote how to load data.
InterruptMonitorAbstractInterruptMonitorGets and sets the interrupt monitor.
FontConfigsIndividualFontConfigsGets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.
LocaleLocaleGets and sets the Locale used for diagram at the time the file was loaded.

LoadOptions() (1 of 2)

Initializes a new instance of this class with default values. Default file format is set as LoadFileFormat .


LoadOptions(format) (2 of 2)

Initializes a new instance of this class with the format specified.

ParameterTypeDescription
formatintA LoadFileFormat value. LoadFileFormat load file format.

LoadOptions.LoadFormat property

Specifies the format of the diagram to be loaded. Default is LoadFileFormat . Read/write LoadFileFormat . The value of the property is LoadFileFormat integer constant.

Type: int

LoadOptions.Pages property

Specifies the index of the pages to be loaded.

Type: ArrayList

LoadOptions.LoadFilter property

The filter to denote how to load data.

Type: LoadFilter

LoadOptions.InterruptMonitor property

Gets and sets the interrupt monitor.

Type: AbstractInterruptMonitor

LoadOptions.FontConfigs property

Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load.

Type: IndividualFontConfigs

LoadOptions.Locale property

Gets and sets the Locale used for diagram at the time the file was loaded.

Type: Locale