Show / Hide Table of Contents

    Class FontExtensions

    Font extensions.

    Inheritance
    Object
    FontExtensions
    Inherited Members
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Object.ReferenceEquals(Object, Object)
    Object.ToString()
    Namespace: Forms9Patch
    Assembly: Forms9Patch.dll
    Syntax
    public static class FontExtensions

    Methods

    InMathAlphanumericBlock(Int32)

    Is Int32 char in the Unicode math alphanumeric block.

    Declaration
    public static bool InMathAlphanumericBlock(this int utf32Char)
    Parameters
    Type Name Description
    Int32 utf32Char

    Utf32 char.

    Returns
    Type Description
    Boolean

    true, if math alphanumeric block was ined, false otherwise.

    LineHeight(IFontElement)

    Height of a line of text for the given font.

    Declaration
    public static double LineHeight(this IFontElement element)
    Parameters
    Type Name Description
    IFontElement element

    Element.

    Returns
    Type Description
    Double

    The height.

    LineHeight(String, Double, FontAttributes)

    Height of a line of text for the given font.

    Declaration
    public static double LineHeight(string fontFamily, double fontSize, FontAttributes fontAttributes)
    Parameters
    Type Name Description
    String fontFamily

    Font family.

    Double fontSize

    Font size.

    FontAttributes fontAttributes

    Font attributes.

    Returns
    Type Description
    Double

    The height.

    LineHeight(Font)

    Height of a line of text for the given font.

    Declaration
    public static double LineHeight(this Font font)
    Parameters
    Type Name Description
    Font font

    Font.

    Returns
    Type Description
    Double

    The height.

    LineSpace(IFontElement)

    Lines the space.

    Declaration
    public static double LineSpace(this IFontElement element)
    Parameters
    Type Name Description
    IFontElement element

    Element.

    Returns
    Type Description
    Double

    The space.

    LineSpace(String, Double, FontAttributes)

    Lines the space.

    Declaration
    public static double LineSpace(string fontFamily, double fontSize, FontAttributes fontAttributes)
    Parameters
    Type Name Description
    String fontFamily

    Font family.

    Double fontSize

    Font size.

    FontAttributes fontAttributes

    Font attributes.

    Returns
    Type Description
    Double

    The space.

    LineSpace(Font)

    Lines the space.

    Declaration
    public static double LineSpace(this Font font)
    Parameters
    Type Name Description
    Font font

    Font.

    Returns
    Type Description
    Double

    The space.

    LoadedFontFamilies()

    Provides a list of the currently loaded font families (included embedded resources) that are available.

    Declaration
    public static List<string> LoadedFontFamilies()
    Returns
    Type Description
    List<String>

    The font families.

    Back to top Copyright © 2018 42nd Parallel