GemBox.Document
  • Overview
  • Examples
  • Free version
  • Support
  • Pricelist

    Show / Hide Table of Contents

    TexHyphenationDictionary Class

    Namespace:
    GemBox.Document.Hyphenation
    Assembly:
    GemBox.Document.dll

    Represent a TeX hyphenation dictionary.

    • C#
    • VB.NET
    public sealed class TexHyphenationDictionary : HyphenationDictionary
    Public NotInheritable Class TexHyphenationDictionary
        Inherits HyphenationDictionary
    Inheritance:
    System.Object
    HyphenationDictionary
    TexHyphenationDictionary

    Methods

    Hyphenate(String)

    Hyphenates a specific word.

    • C#
    • VB.NET
    public override IList<int> Hyphenate(string word)
    Public Overrides Function Hyphenate(word As String) As IList(Of Integer)
    Parameters
    word
    System.String

    A word to be hyphenated.

    Returns
    System.Collections.Generic.IList<System.Int32>

    A list of positions in a word where it can be hyphenated.

    Overrides
    HyphenationDictionary.Hyphenate(String)

    Load(Stream)

    Loads a hyphenation dictionary from the specified stream.

    • C#
    • VB.NET
    public static TexHyphenationDictionary Load(Stream stream)
    Public Shared Function Load(stream As Stream) As TexHyphenationDictionary
    Parameters
    stream
    System.IO.Stream

    The stream from which to load a hyphenation dictionary.

    Returns
    TexHyphenationDictionary

    A loaded hyphenation dictionary.

    Load(String)

    Loads a hyphenation dictionary from a file with the specified path.

    • C#
    • VB.NET
    public static TexHyphenationDictionary Load(string path)
    Public Shared Function Load(path As String) As TexHyphenationDictionary
    Parameters
    path
    System.String

    The path from which to load a hyphenation dictionary.

    Returns
    TexHyphenationDictionary

    A loaded hyphenation dictionary.

    Back to top

    Facebook • Twitter • LinkedIn

    © GemBox Ltd. — All rights reserved.