Message 1 of 2
How to preview floor plan image
Not applicable
11-06-2018
11:28 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm trying to create a form application project in which I'll be able to preview Revit project floor plans in a separate form.
Now I'm exporting the floor plan image using the following code
var BilledeExportOptions = new ImageExportOptions
{
ZoomType = ZoomFitType.FitToPage,
PixelSize = 1024,
FilePath = path,
FitDirection = FitDirectionType.Horizontal,
HLRandWFViewsFileType = ImageFileType.JPEGLossless,
ImageResolution = ImageResolution.DPI_600,
ExportRange = ExportRange.SetOfViews,
ViewName = Path.GetFileNameWithoutExtension(path),
};
BilledeExportOptions.SetViewsAndSheets(ImageExportList);
document.ExportImage(BilledeExportOptions); and then preview the image from the exported location.
This kind of process is heavy, so I wander is there a way to preview the floor plan image without exporting it?