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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →