UtilClipboardCountChars Method

Counts the text characters contained in the Clipboard.

Definition

Namespace: DevCase.Core.Windows.Common
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public static int CountChars(
	TextDataFormat format = TextDataFormat.Text
)

Parameters

format  TextDataFormat  (Optional)
The specific TextDataFormat, default is Text.

Return Value

Int32
If the clipboard content is text, the value is the amount of characters.

If the clipboard content is not text, the value is 0.

See Also