Share

Rendering.resolutionWidth Property

Parent Object: Rendering
Defined in namespace "adsk::fusion" and the header file is <Fusion/Render/Rendering.h>

Description

Gets and sets the width of the image in pixels. If anything but CustomRenderAspectRatio is defined as the aspect ratio, the resolution height will be modified to maintain the specified aspect ratio. The width must be between 108 and 4000 pixels.

Syntax

"rendering_var" is a variable referencing a Rendering object.

# Get the value of the property.
propertyValue = rendering_var.resolutionWidth

# Set the value of the property.
rendering_var.resolutionWidth = propertyValue

Property Value

This is a read/write property whose value is an integer.

Version

Introduced in version May 2023

Was this information helpful?