Class TransientText
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable
Inherited Members
System.MarshalByRefObject.CreateObjRef(System.Type)
System.MarshalByRefObject.GetLifetimeService()
System.MarshalByRefObject.InitializeLifetimeService()
System.MarshalByRefObject.MemberwiseClone(System.Boolean)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: NXOpen.Display
Assembly: NXOpen.dll
Syntax
public class TransientText : TransientObject, IMessageSink, IDisposable
Constructors
TransientText(IntPtr)
Declaration
protected TransientText(IntPtr ptr)
Parameters
| Type | Name | Description |
|---|---|---|
| System.IntPtr | ptr |
Properties
Color
Declaration
public int Color { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Int32 |
FontStyle
Declaration
public string FontStyle { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ReferencePositionType
Declaration
public TransientText.StandardTextRef ReferencePositionType { get; set; }
Property Value
| Type | Description |
|---|---|
| TransientText.StandardTextRef |
ScreenTextSize
Declaration
public TransientText.TextSize ScreenTextSize { get; set; }
Property Value
| Type | Description |
|---|---|
| TransientText.TextSize |
Methods
AddTextString(String)
Declaration
public void AddTextString(string textString)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | textString |
DisplayTemporaryAbsoluteGeometry(Int32, View, TransientText.ViewType, DisplayableObject, Point3d)
Declaration
public void DisplayTemporaryAbsoluteGeometry(int fontIndex, View view, TransientText.ViewType viewType, DisplayableObject object, Point3d position)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | fontIndex | |
| View | view | |
| TransientText.ViewType | viewType | |
| DisplayableObject | object | |
| Point3d | position |
DisplayTemporaryAbsRotScreenSizeGeometry(Int32, View, TransientText.ViewType, DisplayableObject, Point3d)
Declaration
public void DisplayTemporaryAbsRotScreenSizeGeometry(int fontIndex, View view, TransientText.ViewType viewType, DisplayableObject object, Point3d position)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | fontIndex | |
| View | view | |
| TransientText.ViewType | viewType | |
| DisplayableObject | object | |
| Point3d | position |
DisplayTemporaryScreenGeometry(Int32, View, TransientText.ViewType, DisplayableObject, Point3d)
Declaration
public void DisplayTemporaryScreenGeometry(int fontIndex, View view, TransientText.ViewType viewType, DisplayableObject object, Point3d position)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Int32 | fontIndex | |
| View | view | |
| TransientText.ViewType | viewType | |
| DisplayableObject | object | |
| Point3d | position |
FreeResource()
Declaration
protected override void FreeResource()
Overrides
GetAbsoluteTextSize(out Double, out Double)
Declaration
public void GetAbsoluteTextSize(out double glyphWidth, out double glyphHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | glyphWidth | |
| System.Double | glyphHeight |
SetAbsoluteTextSize(Double, Double)
Declaration
public void SetAbsoluteTextSize(double glyphWidth, double glyphHeight)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Double | glyphWidth | |
| System.Double | glyphHeight |
Implements
System.Runtime.Remoting.Messaging.IMessageSink
System.IDisposable