ImageOption Class

class NXOpen.Report.ImageOption

Bases: NXOpen.TaggedObject

Represents an image option object.

New in version NX11.0.0.

Properties

Property Description
ImageHeight Returns or sets the image height .
ImageRotation Returns or sets the image rotation angle in degree.
ImageWidth Returns or sets the image width .
LockOriginalAspectRatio Returns or sets a value that indicates whether locks original image aspect ratio. If locks ratio, the image width will be updated according to the ratio when image height changes , and vice versa.
Tag Returns the Tag for this object.

Methods

Property Detail

ImageHeight

ImageOption.ImageHeight

Returns or sets the image height .

-------------------------------------

Getter Method

Signature ImageHeight

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ImageHeight

Parameters:imageHeight (float) –

New in version NX11.0.0.

License requirements: None.

ImageRotation

ImageOption.ImageRotation

Returns or sets the image rotation angle in degree.

-------------------------------------

Getter Method

Signature ImageRotation

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ImageRotation

Parameters:imageRotation (float) –

New in version NX11.0.0.

License requirements: None.

ImageWidth

ImageOption.ImageWidth

Returns or sets the image width .

-------------------------------------

Getter Method

Signature ImageWidth

Returns:
Return type:float

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature ImageWidth

Parameters:imageWidth (float) –

New in version NX11.0.0.

License requirements: None.

LockOriginalAspectRatio

ImageOption.LockOriginalAspectRatio

Returns or sets a value that indicates whether locks original image aspect ratio. If locks ratio, the image width will be updated according to the ratio when image height changes , and vice versa.

-------------------------------------

Getter Method

Signature LockOriginalAspectRatio

Returns:
Return type:bool

New in version NX11.0.0.

License requirements: None.

-------------------------------------

Setter Method

Signature LockOriginalAspectRatio

Parameters:lockOriginalRatio (bool) –

New in version NX11.0.0.

License requirements: None.