com.aspose.diagram
Class LayoutOptions

java.lang.Object
    extended by 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()
voidsetDirection(int)
           Used to set direction of shapes layout. The value of the property is LayoutDirection integer constant.
booleangetEnlargePage()
voidsetEnlargePage(boolean)
           Defines whether need enlarge page to fit drawing or not.
intgetLayoutStyle()
voidsetLayoutStyle(int)
           Used to specify style of layout. The value of the property is LayoutStyle integer constant.
floatgetSpaceShapes()
voidsetSpaceShapes(float)
           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.

See Also:
          Aspose.Diagram Documentation - the home page for the Aspose.Diagram Product Documentation.
          Aspose.Diagram Support Forum - our preferred method of support.