Click or drag to resize
SignDocDocumentwithEscapeSequence Method
Prepend an escape sequence for specifying the natural language in a text string. This function throws an SignDocInvalidArgumentException if @a aLang is invalid.

Namespace:  de.softpro.signdocsdk
Assembly:  SPSignDoc_4.3_DotNetLib (in SPSignDoc_4.3_DotNetLib.dll) Version: 1.0.7023.29499
Syntax
C#
public static string withEscapeSequence(
	string text,
	string lang
)

Parameters

text
Type: SystemString
The text.
lang
Type: SystemString
Language identifier (an RFC3066 language tag with two-character language code and optional two-character country code). Only the language and the optional country will be used, the dash separating them will be removed. Example: "en-US" will prepend ESC "enUS" ESC.

Return Value

Type: String
A copy of @a aText with an escape sequence prepended.
See Also