Search Results for

    Show / Hide Table of Contents

    THtmlEntities.TryNameToCode Method

    Converts an Html entity like "amp" into the unicode code for the character. The input string can also be a # code, in decimal or hexadecimal. (for example &#64).

    Syntax

    Namespace: FlexCel.Core

    public static Boolean TryNameToCode(String EntityName, out Int32 Code)

    Parameters

    <-> Parameter Type Description
    EntityName String Name of the entity without the starting "&" and the trailing ";"
    out Code Int32 Unicode representation of the entity.

    Returns

    True if the code exists, false otherwise.

    See also

    • THtmlEntities
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com