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

DatumPlane.IsCurveValidInView

Method
Description:
Checks if the curve is valid to be as the extents for the datum plane in a view. The curve must be bound and coincident with the original one of the datum plane.
Syntax
public bool IsCurveValidInView(
	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
Type Description
Boolean True if it is valid, false otherwise.
Exceptions
Exception Condition
ArgumentNullException A non-optional argument was null
ArgumentOutOfRangeException A value passed for an enumeration argument is not a member of that enumeration