Class TextWithSymbolsBuilder
Inheritance
TextWithSymbolsBuilder
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
SymbolAspectRatio
Declaration
public double SymbolAspectRatio { get; set; }
Property Value
SymbolHeight
Declaration
public double SymbolHeight { get; set; }
Property Value
SymbolLength
Declaration
public double SymbolLength { get; set; }
Property Value
SymbolPreferences
Declaration
public TextWithSymbolsBuilder.SymbolPreferencesType SymbolPreferences { get; set; }
Property Value
SymbolScale
Declaration
public double SymbolScale { get; set; }
Property Value
SymbolSizeMethod
Declaration
public TextWithSymbolsBuilder.SymbolSizingMethod SymbolSizeMethod { get; set; }
Property Value
Methods
AddAttributeReference(NXObject, string, bool, int, int)
Declaration
public void AddAttributeReference(NXObject ownerTag, string title, bool displayTokens, int lineNo, int cursorPos)
Parameters
AddEmbeddedAnnotation(NXObject, int, int)
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 |
|
int |
lineNo |
|
int |
cursorPos |
|
Returns
AddExpressionReference(string, string, int, int)
Declaration
public void AddExpressionReference(string expName, string format, int lineNo, int cursorPos)
Parameters
AddSymbol(NXObject, string, int, int)
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
CopyEmbeddedAnnotation(string, out bool)
Declaration
public string CopyEmbeddedAnnotation(string inputText, out bool isCopied)
Parameters
Type |
Name |
Description |
string |
inputText |
|
bool |
isCopied |
|
Returns
CreateEmbeddedAnnotationText(NXObject)
Declaration
public string CreateEmbeddedAnnotationText(NXObject embeddedAnnotation)
Parameters
Type |
Name |
Description |
NXObject |
embeddedAnnotation |
|
Returns
GetEmbeddedCustomSymbols()
Declaration
public BaseCustomSymbol[] GetEmbeddedCustomSymbols()
Returns
GetSymbolAlignment(string)
Declaration
public TextWithSymbolsBuilder.SymbolAlignmentType GetSymbolAlignment(string symbolName)
Parameters
Type |
Name |
Description |
string |
symbolName |
|
Returns
GetText()
Declaration
public string[] GetText()
Returns
RemoveSymbol(string)
Declaration
public void RemoveSymbol(string path)
Parameters
Type |
Name |
Description |
string |
path |
|
SetSymbolAlignment(string, SymbolAlignmentType)
Declaration
public void SetSymbolAlignment(string symbolName, TextWithSymbolsBuilder.SymbolAlignmentType symbolAlignment)
Parameters
SetText(string[])
Declaration
public void SetText(string[] text)
Parameters
Type |
Name |
Description |
string[] |
text |
|
Validate()
Declaration
Returns
Implements
System.Runtime.Remoting.Messaging.IMessageSink