[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutView

LayoutView Class

Represents a transformed surface with a set of LayoutRect objects.

Inheritance
LayoutView
Namespace: GrapeCity.Documents.Layout
Assembly: DS.Documents.Imaging.dll
Syntax
public class LayoutView
Public Class LayoutView

Properties

Name Description
BaseView

Gets a LayoutView to be used as the base for the current view's relative transformation.

Frozen

Gets a value indicating if the LayoutView does not allow any modifications.

Height

Gets or sets the height of the view rectangle.

Host

Gets the owner LayoutHost object.

InverseTransform

Gets the inverted transformation matrix.

InverseTransform is automatically updated when setting the Transform property.

RelativeTransform

Gets the transformation matrix relative to the BaseView.

Tag

Gets or sets the object that contains data about the LayoutView.

Transform

Gets or sets the transformation matrix for the LayoutView.

Width

Gets or sets the width of the view rectangle.

Methods

Name Description
ApplyOffset(LayoutView, float, float)

Moves the current LayoutView to a new position relative to another LayoutView.

AsRectF()

Returns a RectangleF with the same Width and Height as the view rectangle.

CreateContour(object)

Creates a new Contour and associates it with the LayoutView.

CreatePoint(float, float, float, float)

Creates a point associated with the LayoutView to be used as an anchor for LayoutRects.

CreateRect(object)

Creates a new LayoutRect and associates it with the LayoutView.

DetachFromHost()

Detaches the LayoutView from its owner LayoutHost and removes all constraints referencing objects on the LayoutView.

GetContentRectangleF(bool)

Calculates the minimal RectangleF that contains all non-empty LayoutRects, excluding the view itself.

MapToView(LayoutView, PointF)

Transforms a point from the current LayoutView coordinates to other view's coordinates.

MapToView(LayoutView, PointF[])

Transforms the array of points from the current LayoutView coordinates to other view's coordinates.

SetRelativeTransform(LayoutView, Matrix)

Sets the transformation matrix relative to other LayoutView.