[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutHost.CreateView

CreateView Method

CreateView(float, float, Matrix, object)

Creates a new LayoutView and associates it with the LayoutHost.

Declaration
public LayoutView CreateView(float width, float height, Matrix transform = null, object tag = null)
Public Function CreateView(width As Single, height As Single, Optional transform As Matrix = Nothing, Optional tag As Object = Nothing) As LayoutView
Parameters
Type Name Description
float width

The width of the view rectangle.

float height

The height of the view rectangle.

Matrix transform

The transformation matrix for the LayoutView.

object tag

The object that contains data about the LayoutView.

Returns
Type Description
LayoutView

The created LayoutView object.