LoadOptions
LoadOptions class
Allows to specify additional options when loading a diagram into a Diagram object.
Constructors
| Name | Description |
|---|---|
| LoadOptions | Initializes a new instance of this class with default values. Default file format is set as LoadFileFormat . |
| LoadOptions | Initializes a new instance of this class with the format specified. |
Properties
| Name | Type | Description |
|---|---|---|
| LoadFormat | int | Specifies the format of the diagram to be loaded. Default is LoadFileFormat . Read/write LoadFileFormat . The value of t |
| Pages | ArrayList | Specifies the index of the pages to be loaded. |
| LoadFilter | LoadFilter | The filter to denote how to load data. |
| InterruptMonitor | AbstractInterruptMonitor | Gets and sets the interrupt monitor. |
| FontConfigs | IndividualFontConfigs | Gets and sets individual font configs. Only works for the Diagram which uses this LoadOptions to load. |
| Locale | Locale | Gets 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.
| Parameter | Type | Description |
|---|---|---|
| format | int | A 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