UtilClipboardCountLines Method
Counts the lines of the text contained in the Clipboard.
Namespace: DevCase.Core.Windows.CommonAssembly: 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
)
Public Shared Function CountLines (
Optional format As TextDataFormat = TextDataFormat.Text
) As Integer
Dim format As TextDataFormat
Dim returnValue As Integer
returnValue = UtilClipboard.CountLines(format)
public:
static int CountLines(
TextDataFormat format = TextDataFormat::Text
)
static member CountLines :
?format : TextDataFormat
(* Defaults:
let _format = defaultArg format TextDataFormat.Text
*)
-> int
No code example is currently available or this language may not be supported.
- format TextDataFormat (Optional)
-
The specific TextDataFormat, default is Text.
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.