DiagramLayoutGridSettingsBuilder
Defines the fluent API for configuring the DiagramLayoutGridSettings settings.
Methods
ComponentSpacingX(System.Double)
Defines the horizontal spacing between each component. The default is 50.
Parameters
value - System.Double
The value that configures the componentspacingx.
ComponentSpacingY(System.Double)
Defines the vertical spacing between each component. The default is 50.
Parameters
value - System.Double
The value that configures the componentspacingy.
OffsetX(System.Double)
Defines the left offset of the grid layout. The default is 50.
Parameters
value - System.Double
The value that configures the offsetx.
OffsetY(System.Double)
Defines the top offset of the grid layout. The default is 50.
Parameters
value - System.Double
The value that configures the offsety.
Width(System.Double)
Defines the width of the grid. The bigger this parameter the more components will be organized in an horizontal row. How many components really depends on your diagram and they type of layout applied to each component. The default is set to 800.
Parameters
value - System.Double
The value that configures the width.