Table of Contents

Method ToPaper

Namespace
OpenCAD2D
Assembly
OpenCAD2D.Core.dll

ToPaper(DxfViewport, GeoPoint2)

The point of the paper a point of model space is shown at through a viewport.

public static GeoPoint2 ToPaper(DxfViewport viewport, GeoPoint2 model)

Parameters

viewport DxfViewport

The viewport.

model GeoPoint2

The point of model space.

Returns

GeoPoint2

The point of the paper.

Exceptions

ArgumentNullException

Thrown when the viewport is null.