ImageTypeOptions.IsValid Method

If true the ImageTypeOptions can be used to create or reload an ImageType.


Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)

Syntax

C#

public bool IsValid(
	Document document
)

Parameters

document  Document
The document.

Return Value

Boolean
Returns True if the options can be used to create or reload an ImageType. False otherwise.

Exceptions

ExceptionCondition
ArgumentNullException A non-optional argument was null

Remarks

This method returns true if all the following checks are true:

See Also

Reference

ImageTypeOptions Class
Autodesk.Revit.DB Namespace