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

GetCropRegionShapeManagerForReferenceCallout

Method
Description:
Returns an object for managing view crop region shape for reference callout.
Remarks:
Reference callout is a view-specific element referencing another view. It can have its own crop region shape which doesn't affect the referenced view.
Syntax
public static ViewCropRegionShapeManager GetCropRegionShapeManagerForReferenceCallout(
	Document doc,
	ElementId callout
)
Parameters
Parameter Type Description
doc Autodesk.Revit.DB.Document Document to which the callout belongs.
callout Autodesk.Revit.DB.ElementId Element id of reference callout.
Return Value
Type Description
Autodesk.Revit.Exceptions.ArgumentNullException The crop region shape manager.
Exceptions
Exception Condition
Autodesk.Revit.Exceptions.ArgumentNullException A non-optional argument was null