2021 Method
Changes 8
M

ImageType.IsLoadedFromFile

Description:
Checks whether the ImageType was loaded from a file. Revit may generate some ImageTypes internally, such as the ImageTypes created by "Save to Project as Image".
[ObsoleteAttribute("This method is deprecated in Revit 2021 and will be removed in the next version of Revit. We suggest you use the ImageTypeSource property instead.")]
public bool IsLoadedFromFile()
bool True if the ImageType was loaded from a file, False otherwise.