com.aspose.diagram

Class LoadOptions

  • java.lang.Object
    • com.aspose.diagram.LoadOptions
public class LoadOptions 
extends java.lang.Object

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

Constructor Summary
LoadOptions()
Initializes a new instance of this class with default values.
LoadOptions(intformat)
Initializes a new instance of this class with the format specified.
 
Property Getters/Setters Summary
intgetLoadFormat()
void
setLoadFormat(intvalue)
           Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.
java.util.ArrayListgetPages()
void
setPages(java.util.ArrayListvalue)
           Specifies the index of the pages to be loaded.
 

    • Constructor Detail

      • LoadOptions

        public LoadOptions()
        Initializes a new instance of this class with default values. Default file format is set as LoadFileFormat.
      • LoadOptions

        public LoadOptions(int format)
        Initializes a new instance of this class with the format specified.
        Parameters:
        format - A LoadFileFormat value. LoadFileFormat load file format.
    • Property Getters/Setters Detail

      • getLoadFormat/setLoadFormat

        public int getLoadFormat() / public void setLoadFormat(int value)
        
        Specifies the format of the diagram to be loaded. Default is LoadFileFormat. Read/write LoadFileFormat. The value of the property is LoadFileFormat integer constant.
      • getPages/setPages

        public java.util.ArrayList getPages() / public void setPages(java.util.ArrayList value)
        
        Specifies the index of the pages to be loaded.