MultiReferenceAnnotation.IsLinearFixedDimensionDirectionValid
Description:
If the DimensionStyleType is LinearFixed, this function verifies that the dimension line direction matches either the view's vertical or horizontal direction.
If the DimensionStyleType is LinearFixed, this function verifies that the dimension line direction matches either the view's vertical or horizontal direction.
public static bool IsLinearFixedDimensionDirectionValid(
Document document,
ElementId viewId,
MultiReferenceAnnotationOptions options
)
-
documentThe document for the view.
-
viewIdThe view in which the dimension line direction will be tested.
-
optionsOptions containing the DimensionStyleType and dimension line direction to test.
Return Value
Boolean
True if the DimensionStyleType is LinearFixed and the dimension line direction can be used in the view.
True if the DimensionStyleType is not LinearFixed.
-
A non-optional argument was null