If true the ImageTypeOptions can be used to create or reload an ImageType.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 21.0.0.0 (21.1.1.109)
Since: 2020
 Syntax
Syntax
| C# | 
|---|
| public bool IsValid( Document document ) | 
| Visual Basic | 
|---|
| Public Function IsValid ( _ document As Document _ ) As Boolean | 
| Visual C++ | 
|---|
| public: bool IsValid( Document^ document ) | 
Parameters
- document
- Type: Autodesk.Revit.DB..::..Document
 The document.
Return Value
Returns True if the options can be used to create or reload an ImageType. False otherwise. Remarks
Remarks
   This method returns true if all the following checks are true:
   
- The Path points to a file that is a supported image file type.
- The Path points to a file that is not encrypted, which can happen for PDF files.
- The Path points to a file that contains the specified PageNumber.
 Exceptions
Exceptions
| Exception | Condition | 
|---|---|
| Autodesk.Revit.Exceptions..::..ArgumentNullException | A non-optional argument was NULL | 





