com.aspose.diagram

Class LayoutOptions

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

Used to specify style and additional options of layout of shapes to perform Re-Layout of page(pages).

Constructor Summary
LayoutOptions()
Initializes a new instance of LayoutOptions.
 
Property Getters/Setters Summary
intgetDirection()
void
setDirection(intvalue)
           Used to set direction of shapes layout. The value of the property is LayoutDirection integer constant.
booleangetEnlargePage()
void
setEnlargePage(booleanvalue)
           Defines whether need enlarge page to fit drawing or not.
intgetLayoutStyle()
void
setLayoutStyle(intvalue)
           Used to specify style of layout. The value of the property is LayoutStyle integer constant.
floatgetSpaceShapes()
void
setSpaceShapes(floatvalue)
           Defines the spacing between the shapes in inches.
 

    • Constructor Detail

      • LayoutOptions

        public LayoutOptions()
        Initializes a new instance of LayoutOptions.
    • Property Getters/Setters Detail

      • getLayoutStyle/setLayoutStyle

        public int getLayoutStyle() / public void setLayoutStyle(int value)
        
        Used to specify style of layout. The value of the property is LayoutStyle integer constant. Default value is FlowChart.
      • getDirection/setDirection

        public int getDirection() / public void setDirection(int value)
        
        Used to set direction of shapes layout. The value of the property is LayoutDirection integer constant. Default value is TopToBottom.
      • getSpaceShapes/setSpaceShapes

        public float getSpaceShapes() / public void setSpaceShapes(float value)
        
        Defines the spacing between the shapes in inches. Default value 0.3 inch ~ 7.5 mm.
      • getEnlargePage/setEnlargePage

        public boolean getEnlargePage() / public void setEnlargePage(boolean value)
        
        Defines whether need enlarge page to fit drawing or not. Default value is false.