Altsoft FTMasterConnector Class Library

FTMasterConnector Class

Provides methods for font type conversion. Supported font formats are OpenType, TrueType, Type1, Type2, Type42.

For a list of all members of this type, see FTMasterConnector Members.

System.Object
   FTMasterConnector

public class FTMasterConnector

Thread Safety

Public static (Shared in Visual Basic) members of this type are safe for multithreaded operations. Instance members are not guaranteed to be thread-safe.

Example

public static bool ConvertTrueTypeIntoType42()
{
    System.IO.Stream sTrueType = new System.IO.FileStream( "TrueType.ttf", System.IO.FileMode.Open, System.IO.FileAccess.Read );
    System.IO.Stream sType42 = new System.IO.FileStream( "Type42", System.IO.FileMode.OpenOrCreate, System.IO.FileAccess.ReadWrite  );
    bool bIsOK = FTMasterConnector.Convert( sTrueType, sType42, Altsoft.FTMaster.FTMasterConnector.FontFormat.TrueType, Altsoft.FTMaster.FTMasterConnector.FontFormat.Type42 );
    sType42.Close();
    return bIsOK;
}    
public static bool ConvertFontIntoTrueType()
{
    bool bIsOK = FTMasterConnector.Convert( "Type42", "TrueType.otf", Altsoft.FTMaster.FTMasterConnector.FontFormat.TrueType );
    return bIsOK;
}

Requirements

Namespace: Altsoft.FTMaster

Assembly: FTMasterConnector (in FTMasterConnector.dll)

See Also

FTMasterConnector Members | Altsoft.FTMaster Namespace