Revit 2026 API
View |
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: 26.0.4.0 (26.0.4.0)
Syntax
public bool HasImageField()
Public Function HasImageField As Boolean
public: bool HasImageField()
member HasImageField : unit -> bool
Return Value
BooleanTrue if the schedule has at least one image field showing at least one image, false otherwise
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