VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf Namespace / PdfFontManager Class / CreateSimpleFontFromTrueTypeFont Methods / CreateSimpleFontFromTrueTypeFont(Stream) Method
Syntax Remarks Requirements SeeAlso
In This Topic
    CreateSimpleFontFromTrueTypeFont(Stream) Method (PdfFontManager)
    In This Topic
    Creates a simple font based on a file of TrueType font.
    Syntax
    'Declaration
    
    Public Overloads Function CreateSimpleFontFromTrueTypeFont( _
    ByVal stream
    Stream that contains a file of TrueType font.
    As System.IO.Stream _
    ) As Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont
    public Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont CreateSimpleFontFromTrueTypeFont(
    System.IO.Stream stream
    )
    public: Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont* CreateSimpleFontFromTrueTypeFont(
    System.IO.Stream* stream
    )
    public:
    Vintasoft.Imaging.Pdf.Tree.Fonts.PdfFont^ CreateSimpleFontFromTrueTypeFont(
    System.IO.Stream^ stream
    )

    Parameters

    stream
    Stream that contains a file of TrueType font.

    Return Value

    Simple PdfFont.
    Remarks

    This method compress a font program using the PdfCompression.Zip compression.

    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also