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

View.IsValidViewScale

Method
Description:
This validator checks that the view scale is in the allowable range.
Remarks:
The view scale is expressed as 1/X, where X is an integer the range 1 to 24,000.
Syntax
public static bool IsValidViewScale(
	int viewScale
)
Parameters
Parameter Type Description
viewScale Int32 The denominator X in the view scale 1/X.
Return Value
Type Description
Boolean True if the view scale is within the allowable range, false otherwise.