名前 | 解説 | |
---|---|---|
Surface コンストラクタ | Initializes a new instance of the Surface object with a GrapeCity.Documents.Layout.LayoutHost. |
Surfaceデータ型で公開されるメンバを以下の表に示します。
名前 | 解説 | |
---|---|---|
Surface コンストラクタ | Initializes a new instance of the Surface object with a GrapeCity.Documents.Layout.LayoutHost. |
名前 | 解説 | |
---|---|---|
BaseTransform | Gets the transformation matrix of the GrapeCity.Documents.Drawing.GcGraphics object when it was passed to the Render method.
Returns an identity matrix when checked outside of the Render method. | |
BottomLayer | Gets the view that appears below all other views on this Surface. | |
LayoutHost | Gets the associated GrapeCity.Documents.Layout.LayoutHost object. | |
Name | Gets or sets the name of the Surface. | |
Tag | Gets or sets an object that contains arbitrary data associated with this surface. | |
ThrowIfNotFit | Gets or sets a value indicating whether a GrapeCity.Documents.Layout.LayoutException should be thrown if the width or height of some GrapeCity.Documents.Layout.LayoutRects becomes negative.
The default is true. | |
TopLayer | Gets the view that appears above all other views on this Surface. |
名前 | 解説 | |
---|---|---|
CreateView | オーバーロードされます。 Creates a View object that encapsulates a GrapeCity.Documents.Layout.LayoutView and adds it as the top layer. | |
GetViews | Returns the array of views on this Surface. | |
PerformLayout | Recalculates the layout of all Visual and Space objects on this Surface. | |
Render | Draws this Surface on a specified GrapeCity.Documents.Drawing.GcGraphics object.
This method first calls PerformLayout, if the call succeeds it then draws all layers starting with the bottom layer and going up. For each layer, it draws all visuals from the bottom to the top one, followed by drawing the layer's sub-layers. The process repeats until the topmost visual of the top layer has been drawn. | |
ToString | Returns a string that represents the current Surface. |