BitMap Class

class NXOpen.UIStyler.BitMap

Bases: NXOpen.UIStyler.StylerItem

Represents a Bit Map for UI Styler.

New in version NX5.0.0.

Methods

Method Description
Dispose Free resources associated with the instance.
GetItemType Gets the dialog item type.
InitializeAttachment Returns initialized dialog item attachment information
IsEqualTo Equates two styler items
SetAttachment Specifies the updated dialog item attachment information
SetBitmap Sets the bitmap filename.

Method Detail

SetBitmap

BitMap.SetBitmap

Sets the bitmap filename.

The filename extension must be: .UBM, .XPM, or .BMP. The bitmap can be of any size.

Signature SetBitmap(bitmap)

Parameters:bitmap (str) – filename with .ubm, .xpm, or .bmp extension that contains bitmap definition

New in version NX5.0.0.

License requirements: None.