ActiveReports 19 .NET Edition
MESCIUS.ActiveReports.Core.Rendering Assembly / GrapeCity.ActiveReports.Core.Rendering.Tools Namespace / StringExtensions Class / CssEncode Method
The string to encode.

In This Topic
    CssEncode Method
    In This Topic
    Encodes a CSS string by replacing apostrophes, quotes, and other characters with \xxx where xxx is the UTF code.
    Syntax
    'Declaration
     
    Public Shared Function CssEncode( _
       ByVal value As String _
    ) As String
    public static string CssEncode( 
       string value
    )

    Parameters

    value
    The string to encode.

    Return Value

    The encoded string if it contains any symbols that need to be encoded; otherwise, the input string.
    See Also