Document Solutions for Imaging
GrapeCity.Documents.Imaging Assembly / GrapeCity.Documents.Layout Namespace / LayoutRect Class
Properties Methods

In This Topic
    LayoutRect Class Members
    In This Topic

    The following tables list the members exposed by LayoutRect.

    Public Properties
     NameDescription
    Public PropertyGets a value indicating if the LayoutRect does not allow any modifications.  
    Public PropertyGets a value indicating whether the LayoutRect occupies non-zero area.  
    Public PropertyGets a value indicating whether the LayoutRect has non-zero width or height.  
    Public PropertyGets the height of the LayoutRect.  
    Public PropertyGets a value indicating if the LayoutRect is invalid.  
    Public PropertyGets the coordinates of the top left corner.  
    Public PropertyGets the X coordinate of the top left corner.  
    Public PropertyGets the Y coordinate of the top left corner.  
    Public PropertyGets the coordinates of the top right corner.  
    Public PropertyGets the X coordinate of the top right corner.  
    Public PropertyGets the Y coordinate of the top right corner.  
    Public PropertyGets the coordinates of the bottom left corner.  
    Public PropertyGets the X coordinate of the bottom left corner.  
    Public PropertyGets the Y coordinate of the bottom left corner.  
    Public PropertyGets the coordinates of the bottom right corner.  
    Public PropertyGets the X coordinate of the bottom right corner.  
    Public PropertyGets the Y coordinate of the bottom right corner.  
    Public PropertyGets a value indicating if the LayoutRect is resolved.  
    Public PropertyGets a value indicating if the LayoutRect is resolved and valid.  
    Public PropertyGets the actual rotation angle of the LayoutRect, in degrees.  
    Public PropertyGets or sets the object that contains data about the LayoutRect.  
    Public PropertyGets the transformation matrix of the LayoutRect taking into account the owner LayoutView transformation, the top left corner position (P0), and the rotation angle.  
    Public PropertyGets the owner LayoutView object.  
    Public PropertyGets the width of the LayoutRect.  
    Top
    Public Methods
     NameDescription
    Public MethodOverloaded. Anchors a LayoutRect to the bottom left corner and rotation angle of anchorRect.

    The top right corner is not fixed and requires additional constraints.

     
    Public MethodOverloaded. Anchors a LayoutRect to the bottom, left, right sides and rotation angle of anchorRect.

    The top side is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Anchors a LayoutRect to the bottom right corner and rotation angle of anchorRect.

    The top left corner is not fixed and requires additional constraints.

     
    Public MethodOverloaded. Deflates a LayoutRect relative to anchorRect.  
    Public MethodAnchors a LayoutRect to exactly the same bounds and rotation angle as anchorRect.  
    Public MethodAnchors a LayoutRect to the left and right sides and rotation angle of anchorRect and sets zero height.

    The vertical position is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Inflates a LayoutRect relative to anchorRect.  
    Public MethodOverloaded. Anchors a LayoutRect to the left and right sides and rotation angle of anchorRect.

    The top and bottom sides are not fixed and require additional constraints.

     
    Public MethodOverloaded. Anchors a LayoutRect to the left, top, bottom sides and rotation angle of anchorRect.

    The right side is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Anchors a LayoutRect to the right, top, bottom sides and rotation angle of anchorRect.

    The left side is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Anchors a LayoutRect to the top and bottom sides and rotation angle of anchorRect.

    The left and right sides are not fixed and require additional constraints.

     
    Public MethodOverloaded. Anchors a LayoutRect to the top left corner and rotation angle of anchorRect.

    The bottom right corner is not fixed and requires additional constraints.

     
    Public MethodOverloaded. Anchors a LayoutRect to the top, left, right sides and rotation angle of anchorRect.

    The bottom side is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Anchors a LayoutRect to the top right corner and rotation angle of anchorRect.

    The bottom left corner is not fixed and requires additional constraints.

     
    Public MethodAnchors a LayoutRect to the top and bottom sides and rotation angle of anchorRect and sets zero width.

    The horizontal position is not fixed and requires an additional constraint.

     
    Public MethodOverloaded. Adds a MaxBottom constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MaxHeight constraint.  
    Public MethodOverloaded. Adds a MaxLeft constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MaxRight constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MaxTop constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MaxWidth constraint.  
    Public MethodOverloaded. Adds a MinBottom constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MinHeight constraint.  
    Public MethodOverloaded. Adds a MinLeft constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MinRight constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MinTop constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a MinWidth constraint.  
    Public MethodOverloaded. Adds a PositionConstraint relative to anchorRect.  
    Public MethodOverloaded. Adds a SizeConstraint.  
    Public MethodAdds a StarWidth or StarHeight constraint.  
    Public MethodReturns a System.Drawing.RectangleF with the same Width and Height as this LayoutRect.  
    Public MethodDetermines if the rectangular region represented by otherRect is entirely contained within this LayoutRect.  
    Public MethodCreates a point to be used as an anchor for other LayoutRects.  
    Public MethodDetaches the LayoutRect from its owner LayoutView and removes all constraints referencing the LayoutRect.  
    Public MethodSearches for the AngleConstraint.  
    Public MethodGets the rotation angle of the current LayoutRect from the standpoint of the targetRect.  
    Public MethodSearches for the AspectRatioConstraint.  
    Public MethodOverloaded. Searches for the first constraint for the specified target parameter.  
    Public MethodReturns the list of ContourConstraints.  
    Public MethodReturns a System.Drawing.RectangleF that represents the intersection of two rectangles, relative to this LayoutRect.  
    Public MethodReturns a System.Drawing.RectangleF that represents the intersection of two rectangles, relative to the view rectangle.  
    Public MethodSearches for the first PositionConstraint for the specified target parameter.  
    Public MethodSearches for the first SizeConstraint for the specified target parameter.  
    Public MethodSearches for the StarSizeConstraint for the specified target parameter.  
    Public MethodDetermines if this LayoutRect intersects with otherRect.  
    Public MethodDetaches all constraints from the current LayoutRect.  
    Public MethodOverloaded. Detaches the specified Constraint from the LayoutRect.  
    Public MethodAdds an Angle constraint relative to anchorRect.  
    Public MethodAdds an AspectRatio constraint.  
    Public MethodOverloaded. Adds a Bottom constraint relative to anchorRect.  
    Public MethodAdds a Bottom constraint relative to anchorRect and the corresponding opposite constraint.  
    Public MethodOverloaded. Adds a Height constraint.  
    Public MethodOverloaded. Adds a HorizontalCenter constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a Left constraint relative to anchorRect.  
    Public MethodAdds a Left constraint relative to anchorRect and the corresponding opposite constraint.  
    Public MethodOverloaded. Adds a Right constraint relative to anchorRect.  
    Public MethodAdds a Right constraint relative to anchorRect and the corresponding opposite constraint.  
    Public MethodAdds a StarHeight constraint.  
    Public MethodAdds a StarWidth constraint.  
    Public MethodOverloaded. Adds a Top constraint relative to anchorRect.  
    Public MethodAdds a Top constraint relative to anchorRect and the corresponding opposite constraint.  
    Public MethodOverloaded. Adds a VerticalCenter constraint relative to anchorRect.  
    Public MethodOverloaded. Adds a Width constraint.  
    Public MethodConverts a LayoutRect to System.Drawing.RectangleF relative to the targetRect.  
    Public MethodReturns a string that represents the current LayoutRect.  
    Top
    See Also