2027 Class
Changes 0
C

ImageExportOptions

Description:
This class defines options for exporting views and sheets as an image.
Inheritance Hierarchy:
System.Object
  Autodesk.Revit.DB.ImageExportOptions
public class ImageExportOptions : IDisposable
Name Return Type Description Inherited From
C ImageExportOptions() None Constructs a new instance of the options class used to produce images.
Name Return Type Description Inherited From
M Dispose() None Releases all resources used by the ImageExportOptions
M Equals None Determines whether the specified object is equal to the current object. (Inherited from Object ) Object
M GetFileName(Document, ElementId) String Gets the file name that will be produced when exporting a view to an image.
M GetHashCode None Serves as the default hash function. (Inherited from Object ) Object
M GetType None Gets the Type of the current instance. (Inherited from Object ) Object
M GetViewsAndSheets() IList<ElementId> Gets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.
M IsValidFileName(String) Boolean Verify if File name is valid
M IsValidForSaveToProjectAsImage(ImageExportOptions, Document) Boolean Verify if ImageExportOptions object is valid for calling saveToProjectAsImage
M SetViewsAndSheets(IList<ElementId>) None Sets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.
M ToString None Returns a string that represents the current object. (Inherited from Object ) Object
Name Return Type Description Inherited From
P ExportRange ExportRange The export range defining which view(s) will be exported.
P FilePath string The file name and path for the exported file.
P FitDirection FitDirectionType The fit direction. Used only if ZoomType is FitToPage.
P HLRandWFViewsFileType ImageFileType File type for exported HLR and wireframe views.
P ImageResolution ImageResolution The image resolution in dots per inch.
P IsValidObject Boolean Specifies whether the .NET object represents a valid Revit entity.
P PixelSize int The pixel size of an image in one direction. Used only if ZoomType is FitToPage.
P ShadowViewsFileType ImageFileType The file type for exported shadow views.
P ShouldCreateWebSite bool Whether or not to create a web site with a page for each export. Used only when ExportRange is SetOfViews.
P ViewName string The name of the view to be created.
P Zoom int The value for Zoom (as a percentage). Used only when ZoomType is Zoom.
P ZoomType ZoomFitType The zoom type, which defines how the image size is determined.