ImageRowHeight Property


Defines the image row height in the schedule.

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 24.0.0.0 (24.0.0.0)
Since: 2015

Syntax

C#
[ObsoleteAttribute("This property is deprecated in Revit 2024 and my be removed in a later version of Revit. We suggest you use the 'RowHeight' property instead.")]
public double ImageRowHeight { get; set; }
Visual Basic
<ObsoleteAttribute("This property is deprecated in Revit 2024 and my be removed in a later version of Revit. We suggest you use the 'RowHeight' property instead.")> _
Public Property ImageRowHeight As Double
	Get
	Set
Visual C++
[ObsoleteAttribute(L"This property is deprecated in Revit 2024 and my be removed in a later version of Revit. We suggest you use the 'RowHeight' property instead.")]
public:
property double ImageRowHeight {
	double get ();
	void set (double value);
}

Field Value

The row height for any rows containing images in the schedule. The value is 0.0 by default if not customized.

Remarks

If there is at least one image field in the schedule, then setting this property will force all rows containing images to be resized to the indicated height value (when viewed as a ScheduleSheetInstance on a ViewSheet). Setting this property will have no effect if HasImageField returns false.

This height will be maintained until the user or application restores the original image sizes (in API: RestoreImageSize ).

Exceptions

Exception Condition
Autodesk.Revit.Exceptions ArgumentOutOfRangeException When setting this property: The given value for imageRowHeight must be greater than 0 and no more than 30000 feet.

See Also