Click or drag to resize
CLAYOUT Class
Layout class for generic relative layout calculation The relative layout algorithm allows a logical organization of layout rectangles. You can set constraints with English-like semantics. For example: "Set the left side of rectangle 1 equal to the right side of rectangle 2 plus 10 pixels." "Set the bottom of rectangle 1 to 25 percent of the height of rectangle 2." "Move node 1 such that its bottom is equal to the top of rectangle 2 minus 10 pixels." The last constraint set would enjoy priority over any others as it would be the last one that would influence the rectangle calculations. See the notes for iSetConstraint for more details.
Inheritance Hierarchy

Namespace: GeoEngine.Core.GXNet
Assembly: geoengine.core.gxnet (in geoengine.core.gxnet.dll)
Syntax
public class CLAYOUT : CHANDLE

The CLAYOUT type exposes the following members.

Methods
  NameDescription
Public methodAvailable to anyone with an Oasis Montaj licenseCalculateRects
Calculate new positions based on initial conditions and constraints
Public methodAvailable to anyone with an Oasis Montaj licenseClearAll
Remove all children and constraints from layout
Public methodAvailable to anyone with an Oasis Montaj licenseClearConstraints
Remove all constraints from layout
Public methodAvailable to anyone with an Oasis Montaj licenseStatic memberCreate
Creates a layout calculation object
Protected methodDispose
Releases the unmanaged resources used by the CLAYOUT and optionally releases the managed resources
(Overrides CHANDLEDispose(Boolean).)
Public methodAvailable to anyone with an Oasis Montaj licenseGetRectangle
Gets the current bounds for a rectangle or the parent layout
Public methodAvailable to anyone with an Oasis Montaj licenseGetRectName
Gets an optional name the current info for a rectangle or the parent layout
Public methodAvailable to anyone with an Oasis Montaj licenseiAddConstraint
Add a constraint between any two rectangles or to one with absolute positioning
Public methodAvailable to anyone with an Oasis Montaj licenseiAddRectangle
Adds a rectangle as one of the layout's children (Higer.
Public methodAvailable to anyone with an Oasis Montaj licenseiNumRectangles
Returns the number of children in the list.
Public methodAvailable to anyone with an Oasis Montaj licenseSetRectangle
Sets the current bounds for a rectangle previously added to the layout
Public methodAvailable to anyone with an Oasis Montaj licenseSetRectangleName
Sets an optional name the current info for a rectangle or the parent layout
Top
See Also