Create an ImageView containing an image imported from disk.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 20.0.0.0 (20.1.1.1)
Since:
2013
Syntax
C# |
---|
[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 ImageView Create(
Document document,
string imageFileName
) |
Visual Basic |
---|
<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 Shared Function Create ( _
document As Document, _
imageFileName As String _
) As ImageView |
Visual C++ |
---|
[ObsoleteAttribute(L"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 ImageView^ Create(
Document^ document,
String^ imageFileName
) |
Return Value
The newly created view.
Exceptions
See Also