NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::CAE::Xyplot::TextStyleSetting Class Reference

Represents the text display style. More...

Inheritance diagram for NXOpen::CAE::Xyplot::TextStyleSetting:
NXOpen::TaggedObject NXOpen::CAE::Xyplot::IDisplayStyle NXOpen::CAE::Xyplot::CustomTextStyleSetting

Public Member Functions

NXOpen::CAE::Xyplot::TextAlignment Alignment ()
 Returns the text alignment. More...
 
NXOpen::NXColorColor ()
 Returns the text color
Created in NX9.0.0. More...
 
virtual void CommitChange ()
 Commits any edits that have been applied to the display style. More...
 
NXString Font ()
 Returns the text font
Created in NX9.0.0. More...
 
NXOpen::Preferences::VisualizationFonts::StyleType FontStyle ()
 Returns the text font style. More...
 
NXOpen::CAE::Xyplot::Fonttype FontType ()
 Returns the text font type
Created in NX9.0.0. More...
 
double GlobalSizeScale ()
 Returns the scale of global text size. More...
 
bool IsGlobalSizeAutoScaled ()
 Returns a value indicating whether to automatically adjust the scale of global text size to fit the screen. More...
 
NXOpen::CAE::Xyplot::TextOrientation Orientation ()
 Returns the text orientation. More...
 
virtual
NXOpen::CAE::Xyplot::IDisplayStyle
Owner ()
 Returns the owner style
Created in NX10.0.0. More...
 
void SetAlignment (NXOpen::CAE::Xyplot::TextAlignment alignment)
 Sets the text alignment. More...
 
void SetColor (NXOpen::NXColor *color)
 Sets the text color
Created in NX9.0.0. More...
 
void SetFont (const NXString &font)
 Sets the text font
Created in NX9.0.0. More...
 
void SetFont (const char *font)
 Sets the text font
Created in NX9.0.0. More...
 
void SetFontStyle (NXOpen::Preferences::VisualizationFonts::StyleType fontStyle)
 Sets the text font style. More...
 
void SetFontType (NXOpen::CAE::Xyplot::Fonttype fontType)
 Sets the text font type
Created in NX9.0.0. More...
 
void SetGlobalSizeAutoScaled (bool isGlobalSizeAutoScaled)
 Sets a value indicating whether to automatically adjust the scale of global text size to fit the screen. More...
 
void SetGlobalSizeScale (double sizeScale)
 Sets the scale of global text size. More...
 
void SetOrientation (NXOpen::CAE::Xyplot::TextOrientation orientation)
 Sets the text orientation. More...
 
void SetSize (int size)
 Sets the text size. More...
 
void SetUseGlobalFontSetting (bool useGlobalFontSetting)
 Sets a value indicating whether to use the global setting of text font, font style and font size. More...
 
void SetWeight (NXOpen::Display::TransientText::TextSize weight)
 Sets the text weight. More...
 
int Size ()
 Returns the text size. More...
 
NXOpen::CAE::Xyplot::TextBoxStyleSettingTextBoxStyle ()
 Returns the style of text box
Created in NX9.0.0. More...
 
bool UseGlobalFontSetting ()
 Returns a value indicating whether to use the global setting of text font, font style and font size. More...
 
NXOpen::Display::TransientText::TextSize Weight ()
 Returns the text weight. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the text display style.

Call CAE::Xyplot::IDisplayStyle::CommitChange to apply style changes to corresponding plot after it's modified.
Not support KF.

Created in NX9.0.0.

Member Function Documentation

NXOpen::CAE::Xyplot::TextAlignment NXOpen::CAE::Xyplot::TextStyleSetting::Alignment ( )

Returns the text alignment.

Only valid for title options, legend options and axis label options.
Created in NX9.0.0.

License requirements : None

NXOpen::NXColor* NXOpen::CAE::Xyplot::TextStyleSetting::Color ( )

Returns the text color
Created in NX9.0.0.



License requirements : None

virtual void NXOpen::CAE::Xyplot::TextStyleSetting::CommitChange ( )
virtual

Commits any edits that have been applied to the display style.

Triggers the corresponding plot to update graph.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Implements NXOpen::CAE::Xyplot::IDisplayStyle.

NXString NXOpen::CAE::Xyplot::TextStyleSetting::Font ( )

Returns the text font
Created in NX9.0.0.



License requirements : None

NXOpen::Preferences::VisualizationFonts::StyleType NXOpen::CAE::Xyplot::TextStyleSetting::FontStyle ( )

Returns the text font style.

Available when the text font is standard font.
Created in NX9.0.0.

License requirements : None

NXOpen::CAE::Xyplot::Fonttype NXOpen::CAE::Xyplot::TextStyleSetting::FontType ( )

Returns the text font type
Created in NX9.0.0.



License requirements : None

double NXOpen::CAE::Xyplot::TextStyleSetting::GlobalSizeScale ( )

Returns the scale of global text size.

It will be taken only when CAE::Xyplot::TextStyleSetting::UseGlobalFontSetting and CAE::Xyplot::TextStyleSetting::SetUseGlobalFontSetting is true, and CAE::Xyplot::TextStyleSetting::IsGlobalSizeAutoScaled and CAE::Xyplot::TextStyleSetting::SetGlobalSizeAutoScaled is false.
Created in NX9.0.0.

License requirements : None

bool NXOpen::CAE::Xyplot::TextStyleSetting::IsGlobalSizeAutoScaled ( )

Returns a value indicating whether to automatically adjust the scale of global text size to fit the screen.

It will be taken only when CAE::Xyplot::TextStyleSetting::UseGlobalFontSetting and CAE::Xyplot::TextStyleSetting::SetUseGlobalFontSetting is true.
Created in NX9.0.0.

License requirements : None

NXOpen::CAE::Xyplot::TextOrientation NXOpen::CAE::Xyplot::TextStyleSetting::Orientation ( )

Returns the text orientation.

Only invalid for legend options.
Created in NX9.0.0.

License requirements : None

virtual NXOpen::CAE::Xyplot::IDisplayStyle* NXOpen::CAE::Xyplot::TextStyleSetting::Owner ( )
virtual

Returns the owner style
Created in NX10.0.0.



License requirements : None

Implements NXOpen::CAE::Xyplot::IDisplayStyle.

void NXOpen::CAE::Xyplot::TextStyleSetting::SetAlignment ( NXOpen::CAE::Xyplot::TextAlignment  alignment)

Sets the text alignment.

Only valid for title options, legend options and axis label options.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
alignmentalignment
void NXOpen::CAE::Xyplot::TextStyleSetting::SetColor ( NXOpen::NXColor color)

Sets the text color
Created in NX9.0.0.



License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
colorcolor
void NXOpen::CAE::Xyplot::TextStyleSetting::SetFont ( const NXString font)

Sets the text font
Created in NX9.0.0.



License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
fontfont
void NXOpen::CAE::Xyplot::TextStyleSetting::SetFont ( const char *  font)

Sets the text font
Created in NX9.0.0.



License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
fontfont
void NXOpen::CAE::Xyplot::TextStyleSetting::SetFontStyle ( NXOpen::Preferences::VisualizationFonts::StyleType  fontStyle)

Sets the text font style.

Available when the text font is standard font.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
fontStylefontstyle
void NXOpen::CAE::Xyplot::TextStyleSetting::SetFontType ( NXOpen::CAE::Xyplot::Fonttype  fontType)

Sets the text font type
Created in NX9.0.0.



License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
fontTypefonttype
void NXOpen::CAE::Xyplot::TextStyleSetting::SetGlobalSizeAutoScaled ( bool  isGlobalSizeAutoScaled)

Sets a value indicating whether to automatically adjust the scale of global text size to fit the screen.

It will be taken only when CAE::Xyplot::TextStyleSetting::UseGlobalFontSetting and CAE::Xyplot::TextStyleSetting::SetUseGlobalFontSetting is true.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
isGlobalSizeAutoScaledisglobalsizeautoscaled
void NXOpen::CAE::Xyplot::TextStyleSetting::SetGlobalSizeScale ( double  sizeScale)

Sets the scale of global text size.

It will be taken only when CAE::Xyplot::TextStyleSetting::UseGlobalFontSetting and CAE::Xyplot::TextStyleSetting::SetUseGlobalFontSetting is true, and CAE::Xyplot::TextStyleSetting::IsGlobalSizeAutoScaled and CAE::Xyplot::TextStyleSetting::SetGlobalSizeAutoScaled is false.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
sizeScalesizescale
void NXOpen::CAE::Xyplot::TextStyleSetting::SetOrientation ( NXOpen::CAE::Xyplot::TextOrientation  orientation)

Sets the text orientation.

Only invalid for legend options.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
orientationorientation
void NXOpen::CAE::Xyplot::TextStyleSetting::SetSize ( int  size)

Sets the text size.

The acceptable range is 1-10.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
sizesize
void NXOpen::CAE::Xyplot::TextStyleSetting::SetUseGlobalFontSetting ( bool  useGlobalFontSetting)

Sets a value indicating whether to use the global setting of text font, font style and font size.

If True, you need to set text size scale by setting CAE::Xyplot::TextStyleSetting::IsGlobalSizeAutoScaled and CAE::Xyplot::TextStyleSetting::SetGlobalSizeAutoScaled or CAE::Xyplot::TextStyleSetting::GlobalSizeScale and CAE::Xyplot::TextStyleSetting::SetGlobalSizeScale
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
useGlobalFontSettinguseglobalfontsetting
void NXOpen::CAE::Xyplot::TextStyleSetting::SetWeight ( NXOpen::Display::TransientText::TextSize  weight)

Sets the text weight.

Available when the text font is NX font.
Created in NX9.0.0.

License requirements : nx_ftk ("NX Advanced Graphing")

Parameters
weightweight
int NXOpen::CAE::Xyplot::TextStyleSetting::Size ( )

Returns the text size.

The acceptable range is 1-10.
Created in NX9.0.0.

License requirements : None

NXOpen::CAE::Xyplot::TextBoxStyleSetting* NXOpen::CAE::Xyplot::TextStyleSetting::TextBoxStyle ( )

Returns the style of text box
Created in NX9.0.0.



License requirements : None

bool NXOpen::CAE::Xyplot::TextStyleSetting::UseGlobalFontSetting ( )

Returns a value indicating whether to use the global setting of text font, font style and font size.

If True, you need to set text size scale by setting CAE::Xyplot::TextStyleSetting::IsGlobalSizeAutoScaled and CAE::Xyplot::TextStyleSetting::SetGlobalSizeAutoScaled or CAE::Xyplot::TextStyleSetting::GlobalSizeScale and CAE::Xyplot::TextStyleSetting::SetGlobalSizeScale
Created in NX9.0.0.

License requirements : None

NXOpen::Display::TransientText::TextSize NXOpen::CAE::Xyplot::TextStyleSetting::Weight ( )

Returns the text weight.

Available when the text font is NX font.
Created in NX9.0.0.

License requirements : None


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