Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public double WidthScale { get; set; }
Property Value
DoubleExceptions
Exception | Condition |
---|---|
ArgumentException | When setting this property: The given value for widthScale results in a width that is more than 30000 feet. -or- When setting this property: The given value for widthScale results in a height that is more than 30000 feet because LockProportions is set to true. |
ArgumentOutOfRangeException | When setting this property: The given value for widthScale must be non-negative. |