NX Open C++ Reference Guide
|
Represents a TextStyleBuilder. More...
Public Types | |
enum | TextAlignmentType { TextAlignmentTypeLeft, TextAlignmentTypeCenter, TextAlignmentTypeRight } |
Represents the option NXOpen::Diagramming::TextStyleBuilder::TextAlignment for a NXOpen::Diagramming::TextStyleBuilder . More... | |
enum | TextAutoFitType { TextAutoFitTypeNone, TextAutoFitTypeResizeOutline, TextAutoFitTypeShrinkText } |
Represents the option for a NXOpen::Diagramming::TextStyleBuilder . More... | |
Public Member Functions | |
void | SetTextAlignment (NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType alignment) |
Sets the text alignment of the annotation Created in NX11.0.0. More... | |
void | SetTextAllowWrapping (bool allowWrapping) |
Sets the text allow wrapping Created in NX11.0.0. More... | |
void | SetTextAutoFit (NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType autoFit) |
Sets the text auto fit Created in NX11.0.0. More... | |
void | SetTextHeight (double height) |
Sets the height of the annotation Created in NX11.0.0. More... | |
void | SetTextOverlined (bool overlined) |
Sets whether the text is overlined Created in NX11.0.0. More... | |
void | SetTextUnderlined (bool underlined) |
Sets whether the text is underlined Created in NX11.0.0. More... | |
NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType | TextAlignment () |
Returns the text alignment of the annotation Created in NX11.0.0. More... | |
bool | TextAllowWrapping () |
Returns the text allow wrapping Created in NX11.0.0. More... | |
NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType | TextAutoFit () |
Returns the text auto fit Created in NX11.0.0. More... | |
NXOpen::TextColorFontWidthBuilder * | TextColorFontWidth () |
Returns the text color font width Created in NX11.0.0. More... | |
double | TextHeight () |
Returns the height of the annotation Created in NX11.0.0. More... | |
bool | TextOverlined () |
Returns whether the text is overlined Created in NX11.0.0. More... | |
bool | TextUnderlined () |
Returns whether the text is underlined Created in NX11.0.0. 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 TextStyleBuilder.
This is a sub-builder class and cannot be directly instantiated
Created in NX11.0.0.
Represents the option NXOpen::Diagramming::TextStyleBuilder::TextAlignment for a NXOpen::Diagramming::TextStyleBuilder .
Created in NX11.0.0.
Enumerator | |
---|---|
TextAlignmentTypeLeft |
left |
TextAlignmentTypeCenter |
center |
TextAlignmentTypeRight |
right |
Represents the option for a NXOpen::Diagramming::TextStyleBuilder .
Created in NX11.0.0.
Enumerator | |
---|---|
TextAutoFitTypeNone |
none |
TextAutoFitTypeResizeOutline |
resize outline |
TextAutoFitTypeShrinkText |
shrink text |
void NXOpen::Diagramming::TextStyleBuilder::SetTextAlignment | ( | NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType | alignment | ) |
Sets the text alignment of the annotation
Created in NX11.0.0.
License requirements : None
alignment | alignment |
void NXOpen::Diagramming::TextStyleBuilder::SetTextAllowWrapping | ( | bool | allowWrapping | ) |
Sets the text allow wrapping
Created in NX11.0.0.
License requirements : None
allowWrapping | allowwrapping |
void NXOpen::Diagramming::TextStyleBuilder::SetTextAutoFit | ( | NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType | autoFit | ) |
Sets the text auto fit
Created in NX11.0.0.
License requirements : None
autoFit | autofit |
void NXOpen::Diagramming::TextStyleBuilder::SetTextHeight | ( | double | height | ) |
Sets the height of the annotation
Created in NX11.0.0.
License requirements : None
height | height |
void NXOpen::Diagramming::TextStyleBuilder::SetTextOverlined | ( | bool | overlined | ) |
Sets whether the text is overlined
Created in NX11.0.0.
License requirements : None
overlined | overlined |
void NXOpen::Diagramming::TextStyleBuilder::SetTextUnderlined | ( | bool | underlined | ) |
Sets whether the text is underlined
Created in NX11.0.0.
License requirements : None
underlined | underlined |
NXOpen::Diagramming::TextStyleBuilder::TextAlignmentType NXOpen::Diagramming::TextStyleBuilder::TextAlignment | ( | ) |
Returns the text alignment of the annotation
Created in NX11.0.0.
License requirements : None
bool NXOpen::Diagramming::TextStyleBuilder::TextAllowWrapping | ( | ) |
Returns the text allow wrapping
Created in NX11.0.0.
License requirements : None
NXOpen::Diagramming::TextStyleBuilder::TextAutoFitType NXOpen::Diagramming::TextStyleBuilder::TextAutoFit | ( | ) |
Returns the text auto fit
Created in NX11.0.0.
License requirements : None
NXOpen::TextColorFontWidthBuilder* NXOpen::Diagramming::TextStyleBuilder::TextColorFontWidth | ( | ) |
Returns the text color font width
Created in NX11.0.0.
License requirements : None
double NXOpen::Diagramming::TextStyleBuilder::TextHeight | ( | ) |
Returns the height of the annotation
Created in NX11.0.0.
License requirements : None
bool NXOpen::Diagramming::TextStyleBuilder::TextOverlined | ( | ) |
Returns whether the text is overlined
Created in NX11.0.0.
License requirements : None
bool NXOpen::Diagramming::TextStyleBuilder::TextUnderlined | ( | ) |
Returns whether the text is underlined
Created in NX11.0.0.
License requirements : None
|
virtual |
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.
Implements NXOpen::GeometricUtilities::IComponentBuilder.