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

ImageInstance.WidthScale

Property
Description:
The factor applied to the width of the to calculate the of the ImageInstance.
Remarks:
If LockProportions is true, then changes to the WidthScale will also result in changes to the HeightScale.
Syntax
public double WidthScale { get; set; }
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.