Revit 2026 API
Image |
The pixel size of an image in one direction. Used only if ZoomType is FitToPage.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public int PixelSize { get; set; }
Public Property PixelSize As Integer Get Set
public: property int PixelSize { int get (); void set (int value); }
member PixelSize : int with get, set
Property Value
Int32
Exception | Condition |
---|---|
ArgumentException | When setting this property: The PixelSize value is outside the permitted range. |

The default is 512 pixels.
See Also