NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::Preferences::VisualizationFonts Class Reference

Represents visualization preferences for standard text fonts applicable to the entire session
To obtain an instance of this class, refer to NXOpen::Preferences::SessionPreferences

Created in NX8.0.0. More...

Public Types

enum  StyleType { StyleTypeRegular, StyleTypeBold, StyleTypeItalic, StyleTypeBoldItalic }
 Specifies the font style. More...
 

Public Member Functions

void GetDefaultStandardTextFont (NXString *fontFamily, NXOpen::Preferences::VisualizationFonts::StyleType *fontStyle, int *fontSize)
 Returns settings for the default standard text font
Created in NX8.0.0. More...
 
void SetDefaultStandardTextFont (const NXString &fontFamily, NXOpen::Preferences::VisualizationFonts::StyleType fontStyle, int fontSize)
 Modifies settings for the default standard text font
Created in NX8.0.0. More...
 
void SetDefaultStandardTextFont (const char *fontFamily, NXOpen::Preferences::VisualizationFonts::StyleType fontStyle, int fontSize)
 Modifies settings for the default standard text font
Created in NX8.0.0. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents visualization preferences for standard text fonts applicable to the entire session
To obtain an instance of this class, refer to NXOpen::Preferences::SessionPreferences

Created in NX8.0.0.


Member Enumeration Documentation

Specifies the font style.

A particular font family might support only a subset of these font styles.

Enumerator
StyleTypeRegular 

Regular or normal font style.

StyleTypeBold 

Bold font style.

StyleTypeItalic 

Italic or oblique font style.

StyleTypeBoldItalic 

Bold-italic or bold-oblique font style.

Member Function Documentation

void NXOpen::Preferences::VisualizationFonts::GetDefaultStandardTextFont ( NXString fontFamily,
NXOpen::Preferences::VisualizationFonts::StyleType fontStyle,
int *  fontSize 
)

Returns settings for the default standard text font
Created in NX8.0.0.



License requirements : None

Parameters
fontFamilythe name of the font family
fontStylethe font style
fontSizethe font size in points (72 points per inch)
void NXOpen::Preferences::VisualizationFonts::SetDefaultStandardTextFont ( const NXString fontFamily,
NXOpen::Preferences::VisualizationFonts::StyleType  fontStyle,
int  fontSize 
)

Modifies settings for the default standard text font
Created in NX8.0.0.



License requirements : None

Parameters
fontFamilythe name of the font family
fontStylethe font style
fontSizethe font size in points (72 points per inch)
void NXOpen::Preferences::VisualizationFonts::SetDefaultStandardTextFont ( const char *  fontFamily,
NXOpen::Preferences::VisualizationFonts::StyleType  fontStyle,
int  fontSize 
)

Modifies settings for the default standard text font
Created in NX8.0.0.



License requirements : None

Parameters
fontFamilythe name of the font family
fontStylethe font style
fontSizethe font size in points (72 points per inch)
tag_t NXOpen::Preferences::VisualizationFonts::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.