ImageExportOptions Class

This class defines options for exporting views and sheets as an image.
Inheritance Hierarchy
SystemObject
  Autodesk.Revit.DBImageExportOptions

Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public class ImageExportOptions : IDisposable

The ImageExportOptions type exposes the following members.

Constructors
 NameDescription
Public methodImageExportOptions Constructs a new instance of the options class used to produce images.
Top
Properties
 NameDescription
Public propertyExportRange The export range defining which view(s) will be exported.
Public propertyFilePath The file name and path for the exported file.
Public propertyFitDirection The fit direction. Used only if ZoomType is FitToPage.
Public propertyHLRandWFViewsFileType File type for exported HLR and wireframe views.
Public propertyImageResolution The image resolution in dots per inch.
Public propertyIsValidObject Specifies whether the .NET object represents a valid Revit entity.
Public propertyPixelSize The pixel size of an image in one direction. Used only if ZoomType is FitToPage.
Public propertyShadowViewsFileType The file type for exported shadow views.
Public propertyShouldCreateWebSite Whether or not to create a web site with a page for each export. Used only when ExportRange is SetOfViews.
Public propertyViewName The name of the view to be created.
Public propertyZoom The value for Zoom (as a percentage). Used only when ZoomType is Zoom.
Public propertyZoomType The zoom type, which defines how the image size is determined.
Top
Methods
 NameDescription
Public methodDisposeReleases all resources used by the ImageExportOptions
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodStatic memberGetFileName Gets the file name that will be produced when exporting a view to an image.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodGetViewsAndSheets Gets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.
Public methodStatic memberIsValidFileName Verify if File name is valid
Public methodStatic memberIsValidForSaveToProjectAsImage Verify if ImageExportOptions object is valid for calling saveToProjectAsImage
Public methodSetViewsAndSheets Sets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
See Also