Revit 2025 API
Image |
The zoom type, which defines how the image size is determined.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public ZoomFitType ZoomType { get; set; }
Public Property ZoomType As ZoomFitType Get Set
public: property ZoomFitType ZoomType { ZoomFitType get (); void set (ZoomFitType value); }
member ZoomType : ZoomFitType with get, set
Property Value
ZoomFitType
Exception | Condition |
---|---|
ArgumentOutOfRangeException | When setting this property: A value passed for an enumeration argument is not a member of that enumeration |

The default is FitToPage.
See Also