Search Results for

    Show / Hide Table of Contents

    Interface IPdfFontCollection

    Namespace: IronPdf.Fonts
    Assembly: IronPdf.dll
    Syntax
    public interface IPdfFontCollection

    Properties

    Count

    Declaration
    int Count { get; }
    Property Value
    Type Description
    System.Int32

    Item[String]

    Declaration
    IEnumerable<FontInfo> this[string fontName] { get; }
    Parameters
    Type Name Description
    System.String fontName
    Property Value
    Type Description
    System.Collections.Generic.IEnumerable<FontInfo>

    Item[UInt32]

    Declaration
    FontInfo this[uint objNum] { get; }
    Parameters
    Type Name Description
    System.UInt32 objNum
    Property Value
    Type Description
    FontInfo

    Items

    Declaration
    List<FontInfo> Items { get; }
    Property Value
    Type Description
    System.Collections.Generic.List<FontInfo>

    ItemsReadOnly

    Declaration
    ReadOnlyCollection<FontInfo> ItemsReadOnly { get; }
    Property Value
    Type Description
    System.Collections.ObjectModel.ReadOnlyCollection<FontInfo>

    Methods

    Add(StandardFont)

    Declaration
    FontInfo Add(StandardFont font)
    Parameters
    Type Name Description
    StandardFont font
    Returns
    Type Description
    FontInfo

    Add(Byte[], UInt32)

    Declaration
    FontInfo Add(byte[] fontData, uint size)
    Parameters
    Type Name Description
    System.Byte[] fontData
    System.UInt32 size
    Returns
    Type Description
    FontInfo

    Add(Stream)

    Declaration
    FontInfo Add(Stream fontStream)
    Parameters
    Type Name Description
    System.IO.Stream fontStream
    Returns
    Type Description
    FontInfo

    Add(String)

    Declaration
    FontInfo Add(string standardFontName)
    Parameters
    Type Name Description
    System.String standardFontName
    Returns
    Type Description
    FontInfo

    AddFromFilePath(String)

    Declaration
    FontInfo AddFromFilePath(string fontFilePath)
    Parameters
    Type Name Description
    System.String fontFilePath
    Returns
    Type Description
    FontInfo

    Embed(FontInfo, Byte[], UInt32)

    Declaration
    FontInfo Embed(FontInfo font, byte[] fontData, uint size)
    Parameters
    Type Name Description
    FontInfo font
    System.Byte[] fontData
    System.UInt32 size
    Returns
    Type Description
    FontInfo

    Embed(FontInfo, Stream)

    Declaration
    FontInfo Embed(FontInfo font, Stream fontStream)
    Parameters
    Type Name Description
    FontInfo font
    System.IO.Stream fontStream
    Returns
    Type Description
    FontInfo

    Embed(FontInfo, String)

    Declaration
    FontInfo Embed(FontInfo font, string path)
    Parameters
    Type Name Description
    FontInfo font
    System.String path
    Returns
    Type Description
    FontInfo

    Find(String)

    Declaration
    List<FontInfo> Find(string regexFontName)
    Parameters
    Type Name Description
    System.String regexFontName
    Returns
    Type Description
    System.Collections.Generic.List<FontInfo>

    GetStandardFontName(StandardFont)

    Declaration
    string GetStandardFontName(StandardFont font)
    Parameters
    Type Name Description
    StandardFont font
    Returns
    Type Description
    System.String

    Replace(FontInfo, StandardFont)

    Declaration
    FontInfo Replace(FontInfo targetFont, StandardFont newFont)
    Parameters
    Type Name Description
    FontInfo targetFont
    StandardFont newFont
    Returns
    Type Description
    FontInfo

    Replace(FontInfo, Byte[], UInt32)

    Declaration
    FontInfo Replace(FontInfo targetFont, byte[] newFontData, uint size)
    Parameters
    Type Name Description
    FontInfo targetFont
    System.Byte[] newFontData
    System.UInt32 size
    Returns
    Type Description
    FontInfo

    Replace(FontInfo, Stream)

    Declaration
    FontInfo Replace(FontInfo targetFont, Stream newFontStream)
    Parameters
    Type Name Description
    FontInfo targetFont
    System.IO.Stream newFontStream
    Returns
    Type Description
    FontInfo

    Replace(FontInfo, String)

    Declaration
    FontInfo Replace(FontInfo targetFont, string newFontName)
    Parameters
    Type Name Description
    FontInfo targetFont
    System.String newFontName
    Returns
    Type Description
    FontInfo

    ReplaceFromFilePath(FontInfo, String)

    Declaration
    FontInfo ReplaceFromFilePath(FontInfo targetFont, string path)
    Parameters
    Type Name Description
    FontInfo targetFont
    System.String path
    Returns
    Type Description
    FontInfo

    ResolveStandardFontName(String)

    Declaration
    string ResolveStandardFontName(string arbitraryStandardFontName)
    Parameters
    Type Name Description
    System.String arbitraryStandardFontName
    Returns
    Type Description
    System.String

    UnEmbed(FontInfo)

    Declaration
    FontInfo UnEmbed(FontInfo font)
    Parameters
    Type Name Description
    FontInfo font
    Returns
    Type Description
    FontInfo

    UnEmbed(String)

    Declaration
    FontInfo UnEmbed(string regexFontName)
    Parameters
    Type Name Description
    System.String regexFontName
    Returns
    Type Description
    FontInfo
    ☀
    ☾
    Downloads
    • Download with Nuget
    • Start for Free
    In This Article
    Back to top
    Install with Nuget
    Want to deploy IronPDF to a live project for FREE?
    What’s included?
    30 days of fully-functional product
    Test and share in a live environment
    No watermarks in production
    Get your free 30-day Trial Key instantly.
    No credit card or account creation required
    Your Trial License Key has been emailed to you.
    Download IronPDF free to apply
    your Trial Licenses Key
    Install with NuGet View Licenses
    Licenses from $499. Have a question? Get in touch.