2024 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
C ImageExportOptions() None Constructs a new instance of the options class used to produce images.
Name Return Type Description
M Dispose() None Releases all resources used by the
M GetFileName(Document, ElementId) string Gets the file name that will be produced when exporting a view to an image.
M GetViewsAndSheets() IList<ElementId> Gets a list of views and sheets to be exported. Used only when ExportRange is SetOfViews.
M IsValidFileName(String) bool Verify if File name is valid
M IsValidForSaveToProjectAsImage(ImageExportOptions, Document) bool 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.
Name Return Type Description
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 bool 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.