HasImageField Method


Checks whether the schedule definition includes any image-related fields and if any elements in the schedule actually have images in those fields.

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

Syntax

C#
public bool HasImageField()
Visual Basic
Public Function HasImageField As Boolean
Visual C++
public:
bool HasImageField()

Return Value

True if the schedule has at least one image field showing at least one image, false otherwise.

Remarks

This method may return an incorrect value if the data of the schedule view is out of date. Check [!:IsDataOutOfData()] , and call RefreshData to ensure that the return value is correct.

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 →