Limitations
Read only.
Gets the number of bytes read during the load operation.
public long BytesRead { get; }
Public ReadOnly Property BytesRead() As Long
The following example uses Bytes
TXTextControl.LoadSettings ls = new TXTextControl.LoadSettings();
if (textControl1.Load(TXTextControl.StreamType.All, ls) == System.Windows.Forms.DialogResult.OK)
{
System.Windows.Forms.MessageBox.Show(ls.LoadedFile + " has been loaded. " + ls.BytesRead.ToString() + " bytes read.");
}
Dim ls As TXTextControl.LoadSettings = New TXTextControl.LoadSettings()
If TextControl1.Load(TXTextControl.StreamType.All, ls) = System.Windows.Forms.DialogResult.OK Then
System.Windows.Forms.MessageBox.Show(ls.LoadedFile + " has been loaded. " + ls.BytesRead.ToString() + " bytes read.")
End If
Read only.