UtilClipboardCountLines Method

Counts the lines of the text 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 CountLines(
	TextDataFormat format = TextDataFormat.Text
)

Parameters

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

Return Value

Int32
If the clipboard's content is text, the value is the amount of lines.

If the clipboard's content isn't text, the value is 0.

See Also