NX Open C++ Reference Guide
|
Represents a single text in an annotation and can be queried for information about that text. More...
Public Member Functions | |
int | GetIntegerizedLength (int nth) |
The text integerized length. | |
std::vector< NXString > | GetText () |
Gets all of the text for the text component. | |
double | Height () |
Returns the text height. | |
double | Length () |
Returns the text length. | |
int | NumberLines () |
Returns the number of lines of text. | |
NXOpen::Point3d | Origin () |
Returns the text origin in absolute coordinates. | |
NXOpen::Annotations::TextComponent::TextType | Type () |
Returns the text type. | |
virtual | ~TextComponent () |
Free resources associated with the text component. | |
![]() | |
void * | GetHandle () |
Handle of the internal object represented by this object. | |
Represents a single text in an annotation and can be queried for information about that text.
This information includes the type of text, the number of lines of text, the lines of text, and the origin in absolute coordinates.
Created in NX6.0.0.
the text type.
|
virtual |
Free resources associated with the text component.
After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.
Created in NX6.0.0.
License requirements : None
int NXOpen::Annotations::TextComponent::GetIntegerizedLength | ( | int | nth | ) |
The text integerized length.
nth | the nth text. nth starts with 0. |
std::vector<NXString> NXOpen::Annotations::TextComponent::GetText | ( | ) |
Gets all of the text for the text component.
double NXOpen::Annotations::TextComponent::Height | ( | ) |
Returns the text height.
Created in NX6.0.0.
License requirements : None
double NXOpen::Annotations::TextComponent::Length | ( | ) |
Returns the text length.
Created in NX6.0.0.
License requirements : None
int NXOpen::Annotations::TextComponent::NumberLines | ( | ) |
Returns the number of lines of text.
Created in NX6.0.0.
License requirements : None
NXOpen::Point3d NXOpen::Annotations::TextComponent::Origin | ( | ) |
Returns the text origin in absolute coordinates.
If the annotation is on a drawing, origin is returned in drawing space. If the annotation is on the model, origin is returned in model space.
Created in NX6.0.0.
License requirements : None
NXOpen::Annotations::TextComponent::TextType NXOpen::Annotations::TextComponent::Type | ( | ) |
Returns the text type.
Created in NX6.0.0.
License requirements : None