Search Results for

    Show / Hide Table of Contents

    Class FontCollection

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    FontCollection
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    Inherited Members
    NXRemotableObject.initialize()
    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.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: NXOpen
    Assembly: NXOpen.dll
    Syntax
    public class FontCollection : NXRemotableObject, IMessageSink

    Constructors

    FontCollection(BasePart)

    Declaration
    protected FontCollection(BasePart owner)
    Parameters
    Type Name Description
    BasePart owner

    Properties

    Tag

    Declaration
    public Tag Tag { get; }
    Property Value
    Type Description
    Tag

    Methods

    AddFont(String)

    Declaration
    public int AddFont(string fontName)
    Parameters
    Type Name Description
    System.String fontName
    Returns
    Type Description
    System.Int32

    AddFont(String, FontCollection.Type)

    Declaration
    public int AddFont(string fontName, FontCollection.Type type)
    Parameters
    Type Name Description
    System.String fontName
    FontCollection.Type type
    Returns
    Type Description
    System.Int32

    DoesFontExist(Int32)

    Declaration
    public bool DoesFontExist(int fontIndex)
    Parameters
    Type Name Description
    System.Int32 fontIndex
    Returns
    Type Description
    System.Boolean

    GetFontName(Int32)

    Declaration
    public string GetFontName(int fontIndex)
    Parameters
    Type Name Description
    System.Int32 fontIndex
    Returns
    Type Description
    System.String

    GetFontType(Int32)

    Declaration
    public FontCollection.Type GetFontType(int fontIndex)
    Parameters
    Type Name Description
    System.Int32 fontIndex
    Returns
    Type Description
    FontCollection.Type

    GetLength()

    Declaration
    public int GetLength()
    Returns
    Type Description
    System.Int32

    ReplaceFont(Int32, FontCollection.Type, String)

    Declaration
    public void ReplaceFont(int fontIndex, FontCollection.Type type, string fontName)
    Parameters
    Type Name Description
    System.Int32 fontIndex
    FontCollection.Type type
    System.String fontName

    Implements

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