NX Open C++ Reference Guide
|
Represents a Display::Image
This class is restricted to being called from a program running during an Interactive NX session.
More...
Public Member Functions | |
void | ImageFileSelect () |
Gets an image file using file selection. | |
void | ImagePaletteSelect () |
Gets an image file from the image palette. | |
bool | ImagePreviewToggle () |
Returns the image preview toggle Created in NX6.0.0. | |
void | SetImagePreviewToggle (bool imagePreviewToggle) |
Sets the image preview toggle Created in NX6.0.0. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Display::Image
This class is restricted to being called from a program running during an Interactive NX session.
If run from a non-interactive session it will return NULL.
To create a new instance of this class, use ViewCollection::CreateImage
Created in NX5.0.0.
void NXOpen::Display::Image::ImageFileSelect | ( | ) |
Gets an image file using file selection.
Created in NX5.0.0.
License requirements : None
void NXOpen::Display::Image::ImagePaletteSelect | ( | ) |
Gets an image file from the image palette.
Created in NX5.0.0.
License requirements : None
bool NXOpen::Display::Image::ImagePreviewToggle | ( | ) |
Returns the image preview toggle
Created in NX6.0.0.
License requirements : None
void NXOpen::Display::Image::SetImagePreviewToggle | ( | bool | imagePreviewToggle | ) |
Sets the image preview toggle
Created in NX6.0.0.
License requirements : None
imagePreviewToggle | imagepreviewtoggle |