[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutHost

LayoutHost Class

Represents the host and origin of a coordinate system for LayoutView objects.

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

Constructors

Name Description
LayoutHost(object)

Initializes a new instance of the LayoutHost object.

Properties

Name Description
Dirty

Gets a value indicating if the LayoutHost contains rectangles with unresolved changes.

Frozen

Gets a value indicating if the LayoutHost does not allow any modifications or recalculations.

Tag

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

ThrowIfNotFit

Gets or sets a value indicating whether a LayoutException should be thrown if the width or height of some LayoutRect becomes negative.

The default is true.

ZeroTolerance

Gets or sets a value for which all absolute numbers smaller than are considered equal to zero.

Possible values are between 0.00001f and 1f. The default is 0.01f.

Methods

Name Description
CreateView(float, float, Matrix, object)

Creates a new LayoutView and associates it with the LayoutHost.

Freeze()

Releases all memory resources required for recalculating the layout.

PerformLayout()

Recalculates the layout of all "dirty" LayoutRect objects in the LayoutHost.

See Also