BytesWritten Property
- Namespace
TXTextControl
- Package
TXTextControl.asTextControl. WPF. SDK TXTextControl.from the private NuGet feed or Text Control Offline Packagesdll
Description
Gets the number of bytes written during a save operation.
Syntax
public long BytesWritten { get; }Public ReadOnly Property BytesWritten As LongExamples
The following example reads SaveSettings.BytesWritten after the document has been saved.
SaveSettings saveSettings = new();
textControl.Text = "Quarterly results";
textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings);
Console.WriteLine($"Bytes Written: {saveSettings.BytesWritten}");Dim saveSettings As New SaveSettings()
textControl.Text = "Quarterly results"
textControl.Save("quarterly-results.docx", StreamType.WordprocessingML, saveSettings)
Console.WriteLine($"Bytes Written: {saveSettings.BytesWritten}")Limitations
Read only.