GraphicsImageExportSettings#

class ansys.mechanical.stubs.v241.Ansys.Mechanical.Graphics.GraphicsImageExportSettings#

Bases: object

GraphicsImageExportSettings class.

Overview#

CurrentGraphicsDisplay

Specifies whether to use the current graphics display settings. Defaults to true.

AppendGraph

Specifies whether to append the viewport graph(s) to the exported image. Defaults to false.

Resolution

Specifies the resolution type. Defaults to NormalResolution.

Capture

Specifies what to include in the capture. Defaults to ImageAndLegend.

Background

Specifies the background color. Defaults to GraphicsAppearanceSetting.

FontMagnification

Specifies the font magnification factor. Defaults to 1.0.

Width

Specifies the image width. Defaults to 0. If width AND height are zero, this uses the current dimensions. If only one of the two are nonzero, the current dimension’s ratio is used along with the nonzero of the two properties to determine the computed value of the zero property.

Height

Specifies the image height. Defaults to 0. If width AND height are zero, this uses the current dimensions. If only one of the two are nonzero, the current dimension’s ratio is used along with the nonzero of the two properties to determine the computed value of the zero property.

Property detail#

property GraphicsImageExportSettings.CurrentGraphicsDisplay: System.Boolean | None

Specifies whether to use the current graphics display settings. Defaults to true.

property GraphicsImageExportSettings.AppendGraph: System.Boolean | None

Specifies whether to append the viewport graph(s) to the exported image. Defaults to false.

property GraphicsImageExportSettings.Resolution: Ansys.Mechanical.DataModel.Enums.GraphicsResolutionType | None

Specifies the resolution type. Defaults to NormalResolution.

property GraphicsImageExportSettings.Capture: Ansys.Mechanical.DataModel.Enums.GraphicsCaptureType | None

Specifies what to include in the capture. Defaults to ImageAndLegend.

property GraphicsImageExportSettings.Background: Ansys.Mechanical.DataModel.Enums.GraphicsBackgroundType | None

Specifies the background color. Defaults to GraphicsAppearanceSetting.

property GraphicsImageExportSettings.FontMagnification: System.Double | None

Specifies the font magnification factor. Defaults to 1.0.

property GraphicsImageExportSettings.Width: System.Int32 | None

Specifies the image width. Defaults to 0. If width AND height are zero, this uses the current dimensions. If only one of the two are nonzero, the current dimension’s ratio is used along with the nonzero of the two properties to determine the computed value of the zero property.

property GraphicsImageExportSettings.Height: System.Int32 | None

Specifies the image height. Defaults to 0. If width AND height are zero, this uses the current dimensions. If only one of the two are nonzero, the current dimension’s ratio is used along with the nonzero of the two properties to determine the computed value of the zero property.