WidthScale Property


Image Instance Width Scale Property

The factor applied to the width of the ImageType to calculate the Width of the ImageInstance.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public double WidthScale { get; set; }

Property Value

Double
Exceptions
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.
Remarks
If LockProportions is true, then changes to the WidthScale will also result in changes to the HeightScale .
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →