NXOpen C++ Reference Guide
|
Represents a Edit Cell builder
To create a new instance of this class, use NXOpen::TDP::Manager::CreateTemplateEditcellBuilder
Default values.
More...
Public Types | |
enum | TextJustificationType { TextJustificationTypeLeft, TextJustificationTypeCenter, TextJustificationTypeRight } |
Represents the option NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType for a NXOpen::TDP::TemplateEditCellBuilder . More... | |
Public Member Functions | |
void | SetTextHeight (double height) |
Sets the height of the cell Created in NX1847.0.0. More... | |
void | SetTextJustification (NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType alignment) |
Sets the text alignment of the cell Created in NX1847.0.0. More... | |
NXOpen::Annotations::TextWithEditControlsBuilder * | Text () |
Returns the text Created in NX1847.0.0. More... | |
NXOpen::TextColorFontWidthBuilder * | TextColorFontWidth () |
Returns the text color font width Created in NX1847.0.0. More... | |
double | TextHeight () |
Returns the height of the cell Created in NX1847.0.0. More... | |
NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType | TextJustification () |
Returns the text alignment of the cell Created in NX1847.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a Edit Cell builder
To create a new instance of this class, use NXOpen::TDP::Manager::CreateTemplateEditcellBuilder
Default values.
Property | Value |
---|---|
Text.TextBlock.CustomSymbolScale |
1.0 |
Text.TextBlock.SymbolAspectRatio |
1.0 |
Text.TextBlock.SymbolHeight |
25.4 (millimeters part), 1.0 (inches part) |
Text.TextBlock.SymbolLength |
25.4 (millimeters part), 1.0 (inches part) |
Text.TextBlock.SymbolPreferences |
UseCurrent |
Text.TextBlock.SymbolScale |
1.0 |
Text.TextBlock.SymbolSizeMethod |
ScaleAndAspectRatio |
Created in NX1847.0.0.
Represents the option NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType for a NXOpen::TDP::TemplateEditCellBuilder .
Created in NX1847.0.0.
Enumerator | |
---|---|
TextJustificationTypeLeft |
left |
TextJustificationTypeCenter |
center |
TextJustificationTypeRight |
right |
void NXOpen::TDP::TemplateEditCellBuilder::SetTextHeight | ( | double | height | ) |
Sets the height of the cell
Created in NX1847.0.0.
License requirements : None
height | height |
void NXOpen::TDP::TemplateEditCellBuilder::SetTextJustification | ( | NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType | alignment | ) |
Sets the text alignment of the cell
Created in NX1847.0.0.
License requirements : None
alignment | alignment |
NXOpen::Annotations::TextWithEditControlsBuilder* NXOpen::TDP::TemplateEditCellBuilder::Text | ( | ) |
Returns the text
Created in NX1847.0.0.
License requirements : None
NXOpen::TextColorFontWidthBuilder* NXOpen::TDP::TemplateEditCellBuilder::TextColorFontWidth | ( | ) |
Returns the text color font width
Created in NX1847.0.0.
License requirements : None
double NXOpen::TDP::TemplateEditCellBuilder::TextHeight | ( | ) |
Returns the height of the cell
Created in NX1847.0.0.
License requirements : None
NXOpen::TDP::TemplateEditCellBuilder::TextJustificationType NXOpen::TDP::TemplateEditCellBuilder::TextJustification | ( | ) |
Returns the text alignment of the cell
Created in NX1847.0.0.
License requirements : None