CADability dotNET
Fits the provided rectangle to the drawing area

Namespace: CADability
Assembly: CADability (in CADability.dll) Version: 1.1.4254.24737 (1.1.*)

Syntax

C#
public void Fit(
	BoundingRect fitTo,
	bool distort
)
Visual Basic
Public Sub Fit ( _
	fitTo As BoundingRect, _
	distort As Boolean _
)
Visual C++
public:
void Fit(
	BoundingRect fitTo, 
	bool distort
)

Parameters

fitTo
Type: CADability..::..BoundingRect
Rectangle in the projected world coordinate system
distort
Type: System..::..Boolean
Distort the projection if different aspect ratio

See Also