CellSettingsBuilder Class¶
-
class
NXOpen.Diagramming.Tables.CellSettingsBuilder¶ Bases:
NXOpen.Diagramming.BaseTaggedObjectBuilderRepresents a CellSettingsBuilder.
This is a sub-builder class and cannot be directly instantiated
New in version NX10.0.0.
Properties¶
| Property | Description |
|---|---|
| ContentAlignment | Returns or sets the content alignment of the cell settings. |
| FillColor | Returns or sets the fill color. |
| FillOpacity | Returns or sets the fill opacity. |
| OverflowBehavior | Returns or sets the overflow behavior of the cell settings. |
| Tag | Returns the Tag for this object. |
| ZeroDisplay | Returns or sets the zero display of the cell settings. |
Methods¶
| Method | Description |
|---|---|
| GetContentTextStyle | Gets context text style . |
| Validate | Validate whether the inputs to the component are sufficient for commit to be called. |
Property Detail¶
ContentAlignment¶
-
CellSettingsBuilder.ContentAlignment¶ Returns or sets the content alignment of the cell settings.
-------------------------------------Getter Method
Signature
ContentAlignmentReturns: Return type: NXOpen.Diagramming.Tables.ContentAlignmentNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ContentAlignmentParameters: contentAlignment ( NXOpen.Diagramming.Tables.ContentAlignment) –New in version NX10.0.0.
License requirements: None.
FillColor¶
-
CellSettingsBuilder.FillColor¶ Returns or sets the fill color.
-------------------------------------Getter Method
Signature
FillColorReturns: Return type: Id New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FillColorParameters: colorId (Id) – New in version NX10.0.0.
License requirements: None.
FillOpacity¶
-
CellSettingsBuilder.FillOpacity¶ Returns or sets the fill opacity.
The range of opacity is from 0.0 to 1.0. 0.0 is completely transparent and 1.0 is completely opaque.
-------------------------------------Getter Method
Signature
FillOpacityReturns: Return type: float New in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
FillOpacityParameters: opacity (float) – New in version NX10.0.0.
License requirements: None.
OverflowBehavior¶
-
CellSettingsBuilder.OverflowBehavior¶ Returns or sets the overflow behavior of the cell settings.
-------------------------------------Getter Method
Signature
OverflowBehaviorReturns: Return type: NXOpen.Diagramming.Tables.OverflowBehaviorNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
OverflowBehaviorParameters: overflowBehavior ( NXOpen.Diagramming.Tables.OverflowBehavior) –New in version NX10.0.0.
License requirements: None.
ZeroDisplay¶
-
CellSettingsBuilder.ZeroDisplay¶ Returns or sets the zero display of the cell settings.
-------------------------------------Getter Method
Signature
ZeroDisplayReturns: Return type: NXOpen.Diagramming.Tables.ZeroDisplayNew in version NX10.0.0.
License requirements: None.
-------------------------------------Setter Method
Signature
ZeroDisplayParameters: zeroDisplay ( NXOpen.Diagramming.Tables.ZeroDisplay) –New in version NX10.0.0.
License requirements: None.
Method Detail¶
GetContentTextStyle¶
-
CellSettingsBuilder.GetContentTextStyle¶ Gets context text style .
Signature
GetContentTextStyle()Returns: Return type: NXOpen.Diagramming.TextStyleBuilderNew in version NX11.0.1.
License requirements: None.
Validate¶
-
CellSettingsBuilder.Validate¶ Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.
Signature
Validate()Returns: Was self validation successful Return type: bool New in version NX3.0.1.
License requirements: None.