Revit 2026 API
Image |
Gets the file name that will be produced when exporting a view to an image.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static string GetFileName( Document aDoc, ElementId dbViewId )
Public Shared Function GetFileName ( aDoc As Document, dbViewId As ElementId ) As String
public: static String^ GetFileName( Document^ aDoc, ElementId^ dbViewId )
static member GetFileName : aDoc : Document * dbViewId : ElementId -> string
Parameters
- aDoc Document
- The document that owns the view.
- dbViewId ElementId
- View which is to be exported as image.
Return Value
StringThe generated exported image file name.
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
See Also