Revit 2026 API
PDFExport |
Paper orientation - Portrait/Landscape/Auto
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public PageOrientationType PaperOrientation { get; set; }
Public Property PaperOrientation As PageOrientationType Get Set
public: property PageOrientationType PaperOrientation { PageOrientationType get (); void set (PageOrientationType value); }
member PaperOrientation : PageOrientationType with get, set
Property Value
PageOrientationType
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |

Ignored when the PaperFormat is ExportPaperFormat.Default, which means "Use Sheet Size".
See Also