Message 1 of 2
how to use ExportRange in PDFExport.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I Export pdf using Current visible view, but get pdf is whole element in view, not a visible view.
so, i find the ExportRange from revit API, but how to use in PdfExport.
please guide me how to use ExportRange in ExportPdf.(not use PrintManager)
i use Revit 2025.
ExportRange Enumeration
See Also
This enum is used to define what view, part of the view, or list of views will be exported.
Syntax
C#
public enum ExportRange
Visual Basic
Public Enumeration ExportRange
Visual C++
public enum class ExportRange
Members
Member name Description
CurrentView Export the current view only (zoom to fit of the current view).
VisibleRegionOfCurrentView Export the visible region of the current view.
SetOfViews Export a set of views (set in ViewsAndSheets).