[]
        
(Showing Draft Content)

GrapeCity.Documents.Layout.LayoutView.MapToView

MapToView Method

MapToView(LayoutView, PointF)

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

Declaration
public PointF MapToView(LayoutView targetView, PointF point)
Public Function MapToView(targetView As LayoutView, point As PointF) As PointF
Parameters
Type Name Description
LayoutView targetView

The destination LayoutView or null to reference the LayoutHost.

PointF point

The point in the source LayoutView coordinates.

Returns
Type Description
PointF

The transformed point.

MapToView(LayoutView, PointF[])

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

Declaration
public void MapToView(LayoutView targetView, PointF[] points)
Public Sub MapToView(targetView As LayoutView, points As PointF())
Parameters
Type Name Description
LayoutView targetView

The destination LayoutView or null to reference the LayoutHost.

PointF[] points

The array of points in the source LayoutView coordinates.