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