RVTDocs.com
Namespace: Autodesk.Revit.DB Class: DatumPlane

DatumPlane.SetCurveInView

Method
Description:
Sets the extents to match the curve.
Syntax
public void SetCurveInView(
	DatumExtentType extentMode,
	View view,
	Curve curve
)
Parameters
Parameter Type Description
extentMode DatumExtentType The extent type.
view View The view.
curve Curve The curve.
Return Value
Exceptions
Exception Condition
ArgumentException The datum plane cannot be visible in the view. -or- The curve is unbound or not coincident with the original one of the datum plane.
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration