NX Open C++ Reference Guide
|
Represents the High Quality Image preferences for the entire session
To obtain an instance of this class, refer to Preferences::SessionPreferences
Created in NX4.0.0.
More...
Public Types | |
enum | ImageSizeType { ImageSizeTypeFillView, ImageSizeTypeAnsiA, ImageSizeTypeAnsiB, ImageSizeTypeAnsiC, ImageSizeTypeAnsiD, ImageSizeTypeAnsiE, ImageSizeTypeIsoA4, ImageSizeTypeIsoA3, ImageSizeTypeIsoA2, ImageSizeTypeIsoA1, ImageSizeTypeIsoA0, ImageSizeTypeUserDefined, ImageSizeTypeTrueSize } |
The size at which to generate a High Quality Image. More... | |
enum | OrientationType { OrientationTypeLandscape, OrientationTypePortrait } |
Whether the High Quality Image is to be generated with portrait or landscape orientation. More... | |
enum | PlotQualityType { PlotQualityTypeFine, PlotQualityTypeMedium, PlotQualityTypeRough, PlotQualityTypeCoarse } |
Describes the quality desired when plotting the High Quality Image. More... | |
enum | ResolutionType { ResolutionTypeDraft, ResolutionTypeLow, ResolutionTypeMedium, ResolutionTypeHigh, ResolutionTypeUserDefined } |
The resolution to use when generating a High Quality Image. More... | |
Public Member Functions | |
void | GetImageSize (NXOpen::Preferences::SessionVisualizationHighQualityImage::ImageSizeType *imageSize, int *xSize, int *ySize) |
Returns the image size to use for the generation of the High Quality Image. | |
NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType | GetResolution (int *dotsPerInch) |
Returns the resolution to use when generating a High Quality Image. | |
NXOpen::Preferences::SessionVisualizationHighQualityImage::OrientationType | Orientation () |
Returns the orientation for the High Quality Image (portrait or landscape). | |
NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType | PlotQuality () |
Returns the quality of the plot of the High Quality Image. | |
void | SetImageSize (NXOpen::Preferences::SessionVisualizationHighQualityImage::ImageSizeType imageSize, int xSize, int ySize) |
Specifies the image size to use for the generation of the High Quality Image. | |
void | SetOrientation (NXOpen::Preferences::SessionVisualizationHighQualityImage::OrientationType orientation) |
Sets the orientation for the High Quality Image (portrait or landscape). | |
void | SetPlotQuality (NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType plotQuality) |
Sets the quality of the plot of the High Quality Image. | |
void | SetResolution (NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType resolution, int dotsPerInch) |
Specifies the resolution to use when generating a High Quality Image. | |
void | SetSubRegion (bool useSubRegion) |
Sets the setting for whether the High Quality Image is generated from a sub-region. | |
bool | SubRegion () |
Returns the setting for whether the High Quality Image is generated from a sub-region. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents the High Quality Image preferences for the entire session
To obtain an instance of this class, refer to Preferences::SessionPreferences
Created in NX4.0.0.
The size at which to generate a High Quality Image.
void NXOpen::Preferences::SessionVisualizationHighQualityImage::GetImageSize | ( | NXOpen::Preferences::SessionVisualizationHighQualityImage::ImageSizeType * | imageSize, |
int * | xSize, | ||
int * | ySize | ||
) |
Returns the image size to use for the generation of the High Quality Image.
x_size and y_size vary only for User Defined image size type. For other image size types, the values returned in them are the x and y sizes fixed for the image size type.
Created in NX4.0.0.
License requirements : None
imageSize | image size |
xSize | X Pixel size. See note above. |
ySize | Y Pixel size. See note above |
NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType NXOpen::Preferences::SessionVisualizationHighQualityImage::GetResolution | ( | int * | dotsPerInch | ) |
Returns the resolution to use when generating a High Quality Image.
The resolution is not used if the image_size is fill_view. dots_per_inch is variable only for User Defined resolution type. For other resolution types, the returned dots_per_inch is the number of dots per inch which is fixed for the given resolution type. @return
Created in NX4.0.0.
License requirements : None
dotsPerInch | Dots per inch. See note above. |
NXOpen::Preferences::SessionVisualizationHighQualityImage::OrientationType NXOpen::Preferences::SessionVisualizationHighQualityImage::Orientation | ( | ) |
Returns the orientation for the High Quality Image (portrait or landscape).
orientation is not used if image_size is fill_view or user_defined.
Created in NX4.0.0.
License requirements : None
NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQuality | ( | ) |
Returns the quality of the plot of the High Quality Image.
plot_quality is not used if image_size is fill_view
Created in NX4.0.0.
License requirements : None
void NXOpen::Preferences::SessionVisualizationHighQualityImage::SetImageSize | ( | NXOpen::Preferences::SessionVisualizationHighQualityImage::ImageSizeType | imageSize, |
int | xSize, | ||
int | ySize | ||
) |
Specifies the image size to use for the generation of the High Quality Image.
x_size and y_size only apply for User Defined image size type. For other image size types, they are ignored.
Created in NX4.0.0.
License requirements : None
imageSize | image size |
xSize | X Pixel size. Used only if image_size is user_defined |
ySize | Y Pixel size. Used only if image_size is user_defined |
void NXOpen::Preferences::SessionVisualizationHighQualityImage::SetOrientation | ( | NXOpen::Preferences::SessionVisualizationHighQualityImage::OrientationType | orientation | ) |
Sets the orientation for the High Quality Image (portrait or landscape).
orientation is not used if image_size is fill_view or user_defined.
Created in NX4.0.0.
License requirements : None
orientation | orientation |
void NXOpen::Preferences::SessionVisualizationHighQualityImage::SetPlotQuality | ( | NXOpen::Preferences::SessionVisualizationHighQualityImage::PlotQualityType | plotQuality | ) |
Sets the quality of the plot of the High Quality Image.
plot_quality is not used if image_size is fill_view
Created in NX4.0.0.
License requirements : None
plotQuality | plot quality |
void NXOpen::Preferences::SessionVisualizationHighQualityImage::SetResolution | ( | NXOpen::Preferences::SessionVisualizationHighQualityImage::ResolutionType | resolution, |
int | dotsPerInch | ||
) |
Specifies the resolution to use when generating a High Quality Image.
The given resolution is not used if the image_size is fill_view. dots_per_inch is used only for User Defined resolution. For other resolutions types, the input dots_per_inch is ignored.
Created in NX4.0.0.
License requirements : None
resolution | resolution |
dotsPerInch | Dots per inch. Used only if resolution is user_defined |
void NXOpen::Preferences::SessionVisualizationHighQualityImage::SetSubRegion | ( | bool | useSubRegion | ) |
Sets the setting for whether the High Quality Image is generated from a sub-region.
sub_region is only used when image_size is fill_view
Created in NX4.0.0.
License requirements : None
useSubRegion | use sub region |
bool NXOpen::Preferences::SessionVisualizationHighQualityImage::SubRegion | ( | ) |
Returns the setting for whether the High Quality Image is generated from a sub-region.
sub_region is only used when image_size is fill_view
Created in NX4.0.0.
License requirements : None
tag_t NXOpen::Preferences::SessionVisualizationHighQualityImage::Tag | ( | ) | const |
Returns the tag of this object.