PixelSize Property


Image Export Options Pixel Size Property

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: 25.0.0.0 (25.0.0.0)
Syntax
public int PixelSize { get; set; }

Property Value

Int32
Exceptions
Exception Condition
ArgumentException When setting this property: The PixelSize value is outside the permitted range.
Remarks
The default is 512 pixels.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →