[]
        
(Showing Draft Content)

GrapeCity.ActiveReports.Core.Rendering.Tools.StringExtensions.CssEncode

CssEncode Method

CssEncode(string)

Encodes a CSS string by replacing apostrophes, quotes, and other characters with \xxx where xxx is the UTF code.

Declaration
public static string CssEncode(this string value)
Parameters
Type Name Description
string value

The string to encode.

Returns
Type Description
string

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