The ImageTypeOptions type exposes the following members.

Constructors

  NameDescription
Public methodImageTypeOptions()()()() Obsolete.
Constructs a new instance of the ImageTypeOptions object.
Public methodImageTypeOptions(String) Obsolete.

Constructs a new instance of the ImageTypeOptions object.

The provided string path must specify a local file. The path can be absolute or relative to the project's location. ImageType will respectively use an absolute or relative path.

Public methodImageTypeOptions(String, Boolean) Obsolete.

Constructs a new instance of the ImageTypeOptions object.

The provided string path must specify a local file. The path can be absolute or relative to the project's location.

This constructor saves an additional setting that indicates whether the path used by ImageType should be absolute or relative.

Public methodImageTypeOptions(ExternalResourceReference, ImageTypeSource)
Constructs a new instance of the ImageTypeOptions object.
Public methodImageTypeOptions(String, Boolean, ImageTypeSource)

Constructs a new instance of the ImageTypeOptions object.

The provided string path must specify a local file. The path can be absolute or relative to the project's location.

This constructor saves an additional setting that indicates whether the imagetype will be a link or an import.

Methods

  NameDescription
Public methodDispose
Releases all resources used by the ImageTypeOptions
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIsValid
If true the ImageTypeOptions can be used to create or reload an ImageType.
Public methodSetExternalResourceReference
Update the external resource reference to an image.
Public methodSetPath(String)

Update the path of the file that specifies the image to be used.

The provided string path must specify a local file. The path can be absolute or relative to the project's location. ImageType will respectively use an absolute or relative path.

Public methodSetPath(String, Boolean)

Update the path of the file that specifies the image to be used.

The provided string path must specify a local file. The path can be absolute or relative to the project's location.

Additionally, indicate whether the path used by ImageType should be absolute or relative.

Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)

Properties

  NameDescription
Public propertyIsValidObject
Specifies whether the .NET object represents a valid Revit entity.
Public propertyPageNumber
The page in the file to be used for the image
Public propertyPath
The path of the file that specifies the image to be used.
Public propertyResolution
The Resolution of the image is expressed in dots-per-inch and hence determines the size of a pixel in the image.
Public propertySourceType
Indicates whether the image type is a link or an import.

See Also