Characters Event

Fired for plain text segments of the input stream.


public event OnCharactersHandler OnCharacters;

public delegate void OnCharactersHandler(object sender, OfficedocCharactersEventArgs e);

public class OfficedocCharactersEventArgs : EventArgs {
  public string Text { get; }
Public Event OnCharacters As OnCharactersHandler

Public Delegate Sub OnCharactersHandler(sender As Object, e As OfficedocCharactersEventArgs)

Public Class OfficedocCharactersEventArgs Inherits EventArgs
  Public ReadOnly Property Text As String
End Class


The Characters event provides the plain text content of the XML document (i.e. the text inside the tags). The text is provided through the Text parameter.

The text includes white space as well as end of line characters, except for ignorable whitespace which is fired through the IgnorableWhitespace event.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks ZIP 2020 .NET Edition - Version 20.0 [Build 7720]