M

ImageType.Create

Description:
Creates a new ImageType element and loads the image into it.
Remarks:

The ImageType will be created but will not be placed into any view.

Overloads (2):
Create(Document,String)
[ObsoleteAttribute("This method is deprecated in Revit 2020 and will be removed in the next version of Revit. We suggest you instead use the Create method that takes ImageTypeOptions as input.")]
public static ImageType Create(
	Document document,
	string imagePath
)
Return Value The new ImageType. The new ImageType.