Class TextWithSymbolsBuilder
Inheritance
System.Object
System.MarshalByRefObject
TextWithSymbolsBuilder
Implements
System.Runtime.Remoting.Messaging.IMessageSink
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)
Assembly: NXOpen.dll
Syntax
public class TextWithSymbolsBuilder : TaggedObject, IMessageSink, IComponentBuilder
Constructors
TextWithSymbolsBuilder()
Declaration
protected TextWithSymbolsBuilder()
Properties
CustomSymbolScale
Declaration
public double CustomSymbolScale { get; set; }
Property Value
Type |
Description |
System.Double |
|
SymbolAspectRatio
Declaration
public double SymbolAspectRatio { get; set; }
Property Value
Type |
Description |
System.Double |
|
SymbolHeight
Declaration
public double SymbolHeight { get; set; }
Property Value
Type |
Description |
System.Double |
|
SymbolLength
Declaration
public double SymbolLength { get; set; }
Property Value
Type |
Description |
System.Double |
|
SymbolPreferences
Declaration
public TextWithSymbolsBuilder.SymbolPreferencesType SymbolPreferences { get; set; }
Property Value
SymbolScale
Declaration
public double SymbolScale { get; set; }
Property Value
Type |
Description |
System.Double |
|
SymbolSizeMethod
Declaration
public TextWithSymbolsBuilder.SymbolSizingMethod SymbolSizeMethod { get; set; }
Property Value
Methods
AddAttributeReference(NXObject, String, Boolean, Int32, Int32)
Declaration
public void AddAttributeReference(NXObject ownerTag, string title, bool displayTokens, int lineNo, int cursorPos)
Parameters
Type |
Name |
Description |
NXObject |
ownerTag |
|
System.String |
title |
|
System.Boolean |
displayTokens |
|
System.Int32 |
lineNo |
|
System.Int32 |
cursorPos |
|
AddEmbeddedAnnotation(NXObject, Int32, Int32)
Declaration
[Obsolete("Deprecated in NX2007.0.0. Instead use NXOpen.Annotations.TextWithSymbolsBuilder.CreateEmbeddedAnnotationText for creating embedded annotation text.")]
public string AddEmbeddedAnnotation(NXObject embeddedAnnotation, int lineNo, int cursorPos)
Parameters
Type |
Name |
Description |
NXObject |
embeddedAnnotation |
|
System.Int32 |
lineNo |
|
System.Int32 |
cursorPos |
|
Returns
Type |
Description |
System.String |
|
AddExpressionReference(String, String, Int32, Int32)
Declaration
public void AddExpressionReference(string expName, string format, int lineNo, int cursorPos)
Parameters
Type |
Name |
Description |
System.String |
expName |
|
System.String |
format |
|
System.Int32 |
lineNo |
|
System.Int32 |
cursorPos |
|
AddSymbol(NXObject, String, Int32, Int32)
Declaration
[Obsolete("Deprecated in NX2007.0.0. Instead use NXOpen.Annotations.TextWithSymbolsBuilder.CreateEmbeddedAnnotationText for creating embedded symbol text.")]
public void AddSymbol(NXObject newObject, string name, int lineNo, int cursorPos)
Parameters
Type |
Name |
Description |
NXObject |
newObject |
|
System.String |
name |
|
System.Int32 |
lineNo |
|
System.Int32 |
cursorPos |
|
CopyEmbeddedAnnotation(String, out Boolean)
Declaration
public string CopyEmbeddedAnnotation(string inputText, out bool isCopied)
Parameters
Type |
Name |
Description |
System.String |
inputText |
|
System.Boolean |
isCopied |
|
Returns
Type |
Description |
System.String |
|
CreateEmbeddedAnnotationText(NXObject)
Declaration
public string CreateEmbeddedAnnotationText(NXObject embeddedAnnotation)
Parameters
Type |
Name |
Description |
NXObject |
embeddedAnnotation |
|
Returns
Type |
Description |
System.String |
|
GetEmbeddedCustomSymbols()
Declaration
public BaseCustomSymbol[] GetEmbeddedCustomSymbols()
Returns
GetSymbolAlignment(String)
Declaration
public TextWithSymbolsBuilder.SymbolAlignmentType GetSymbolAlignment(string symbolName)
Parameters
Type |
Name |
Description |
System.String |
symbolName |
|
Returns
GetText()
Declaration
public string[] GetText()
Returns
Type |
Description |
System.String[] |
|
RemoveSymbol(String)
Declaration
public void RemoveSymbol(string path)
Parameters
Type |
Name |
Description |
System.String |
path |
|
SetSymbolAlignment(String, TextWithSymbolsBuilder.SymbolAlignmentType)
Declaration
public void SetSymbolAlignment(string symbolName, TextWithSymbolsBuilder.SymbolAlignmentType symbolAlignment)
Parameters
SetText(String[])
Declaration
public void SetText(string[] text)
Parameters
Type |
Name |
Description |
System.String[] |
text |
|
Validate()
Declaration
Returns
Type |
Description |
System.Boolean |
|
Implements
System.Runtime.Remoting.Messaging.IMessageSink