TextColorFontWidth Class¶
-
class
NXOpen.BlockStyler.
TextColorFontWidth
¶ Bases:
NXOpen.BlockStyler.UIBlock
Represents a Line Width block
New in version NX9.0.0.
Properties¶
Property | Description |
---|---|
AvailableFontTypesAsString | Returns or sets the available font types. |
Enable | Returns or sets the Enable. |
Expanded | Returns or sets the Expanded |
FontValue | Returns or sets the font value |
Group | Returns or sets the Group |
Label | Returns or sets the Label |
LayoutAsString | Returns or sets the layout. |
Name | Returns the name of the block or BlockID |
Show | Returns or sets the Visibility of block. |
StandardFontStyle | Returns or sets the standard font style. |
Tag | Returns the Tag for this object. |
Type | Returns the type of block |
WidthValueAsString | Returns or sets the width value. |
Methods¶
Method | Description |
---|---|
Focus | Focuses on the block. |
GetColorValue | Gets text color values |
GetProperties | Returns the properties of the block |
IsNxFont | Returns the whether selected font is nx font or standard font. |
SetColorValue | Sets text color values |
Property Detail¶
AvailableFontTypesAsString¶
-
TextColorFontWidth.
AvailableFontTypesAsString
¶ Returns or sets the available font types.
-------------------------------------
Getter Method
Signature
AvailableFontTypesAsString
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
AvailableFontTypesAsString
Parameters: availableFontTypes (str) – New in version NX9.0.0.
License requirements: None.
FontValue¶
-
TextColorFontWidth.
FontValue
¶ Returns or sets the font value
-------------------------------------
Getter Method
Signature
FontValue
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
FontValue
Parameters: fontValue (str) – New in version NX9.0.0.
License requirements: None.
LayoutAsString¶
-
TextColorFontWidth.
LayoutAsString
¶ Returns or sets the layout.
-------------------------------------
Getter Method
Signature
LayoutAsString
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
LayoutAsString
Parameters: layoutString (str) – New in version NX9.0.0.
License requirements: None.
StandardFontStyle¶
-
TextColorFontWidth.
StandardFontStyle
¶ Returns or sets the standard font style.
-------------------------------------
Getter Method
Signature
StandardFontStyle
Returns: Return type: str New in version NX12.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
StandardFontStyle
Parameters: fontStyle (str) – New in version NX12.0.0.
License requirements: None.
WidthValueAsString¶
-
TextColorFontWidth.
WidthValueAsString
¶ Returns or sets the width value.
-------------------------------------
Getter Method
Signature
WidthValueAsString
Returns: Return type: str New in version NX9.0.0.
License requirements: None.
-------------------------------------
Setter Method
Signature
WidthValueAsString
Parameters: widthValueString (str) – New in version NX9.0.0.
License requirements: None.
Method Detail¶
GetColorValue¶
-
TextColorFontWidth.
GetColorValue
¶ Gets text color values
Signature
GetColorValue()
Returns: color values to get from the property Return type: list of int New in version NX9.0.0.
License requirements: None.