Search Results for

    Show / Hide Table of Contents

    Class TextWithSymbolsBuilder

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    TaggedObject
    TextWithSymbolsBuilder
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    IComponentBuilder
    Inherited Members
    TaggedObject.initialize()
    TaggedObject.ToString()
    TaggedObject.PrintTestData(String)
    TaggedObject.PrintTestData(String, Int32)
    TaggedObject.Tag
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    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.Annotations
    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
    Type Description
    TextWithSymbolsBuilder.SymbolPreferencesType

    SymbolScale

    Declaration
    public double SymbolScale { get; set; }
    Property Value
    Type Description
    System.Double

    SymbolSizeMethod

    Declaration
    public TextWithSymbolsBuilder.SymbolSizingMethod SymbolSizeMethod { get; set; }
    Property Value
    Type Description
    TextWithSymbolsBuilder.SymbolSizingMethod

    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
    Type Description
    BaseCustomSymbol[]

    GetSymbolAlignment(String)

    Declaration
    public TextWithSymbolsBuilder.SymbolAlignmentType GetSymbolAlignment(string symbolName)
    Parameters
    Type Name Description
    System.String symbolName
    Returns
    Type Description
    TextWithSymbolsBuilder.SymbolAlignmentType

    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
    Type Name Description
    System.String symbolName
    TextWithSymbolsBuilder.SymbolAlignmentType symbolAlignment

    SetText(String[])

    Declaration
    public void SetText(string[] text)
    Parameters
    Type Name Description
    System.String[] text

    Validate()

    Declaration
    public bool Validate()
    Returns
    Type Description
    System.Boolean

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    IComponentBuilder
    In This Article
    Back to top Generated by DocFX