NXOpen .NET Reference
12.0.0
|
Represents a single text in an annotation and can be queried for information about that text. More...
Public Types | |
enum | TextType { Text, DualDimension, Tolerance, DualTolerance, DiameterRadius, AppendedAbove, AppendedBelow, AppendedBefore, AppendedAfter, ChamferBefore, ChamferAfter, ChamferSize, ChamferXSymbol, ChamferAngle } |
the text type. More... | |
Public Member Functions | |
unsafe string[] | GetText () |
Gets all of the text for the text component. More... | |
unsafe double | GetDistanceToTop () |
The distance from the origin to the top of text. More... | |
unsafe int | GetIntegerizedLength (int nth) |
The text integerized length. More... | |
unsafe double | GetAngle () |
The text angle. More... | |
Protected Member Functions | |
override void | FreeResource () |
Free resources associated with the text component. More... | |
Properties | |
unsafe NXOpen.Point3d | AdjustedOrigin [get] |
Returns the adjusted text origin in absolute coordinates. More... | |
unsafe double | Height [get] |
Returns the text height. More... | |
unsafe double | Length [get] |
Returns the text length. More... | |
unsafe int | NumberLines [get] |
Returns the number of lines of text. More... | |
unsafe NXOpen.Point3d | Origin [get] |
Returns the text origin in absolute coordinates. More... | |
unsafe NXOpen.Annotations.TextComponent.TextType | Type [get] |
Returns the text type. More... | |
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.
|
protected |
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.
unsafe double NXOpen.Annotations.TextComponent.GetAngle | ( | ) |
The text angle.
Created in NX12.0.0
License requirements: None.
unsafe double NXOpen.Annotations.TextComponent.GetDistanceToTop | ( | ) |
The distance from the origin to the top of text.
Created in NX6.0.0
License requirements: None.
unsafe int NXOpen.Annotations.TextComponent.GetIntegerizedLength | ( | int | nth | ) |
The text integerized length.
Created in NX6.0.0
License requirements: None.
nth | the nth text. nth starts with 0. |
unsafe string [] NXOpen.Annotations.TextComponent.GetText | ( | ) |
Gets all of the text for the text component.
Created in NX6.0.0
License requirements: None.
|
get |
Returns the adjusted 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. Text origin and adjusted text origin should be equivalent except for underline notes The adjusted origin is used for display
Created in NX11.0.2
License requirements: None.
|
get |
Returns the text height.
Created in NX6.0.0
License requirements: None.
|
get |
Returns the text length.
Created in NX6.0.0
License requirements: None.
|
get |
Returns the number of lines of text.
Created in NX6.0.0
License requirements: None.
|
get |
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.
|
get |
Returns the text type.
Created in NX6.0.0
License requirements: None.