SpecialSection Event

Fired when a special section is encountered.

Syntax

public event OnSpecialSectionHandler OnSpecialSection;

public delegate void OnSpecialSectionHandler(object sender, OfficedocSpecialSectionEventArgs e);

public class OfficedocSpecialSectionEventArgs : EventArgs {
  public string SectionId { get; }
  public string Text { get; }
}
Public Event OnSpecialSection As OnSpecialSectionHandler

Public Delegate Sub OnSpecialSectionHandler(sender As Object, e As OfficedocSpecialSectionEventArgs)

Public Class OfficedocSpecialSectionEventArgs Inherits EventArgs
  Public ReadOnly Property SectionId As String
  Public ReadOnly Property Text As String
End Class

Remarks

The SpecialSection event is fired whenever a special section (such as <![ CDATA [ ..text... ]]>) is found in the document.

The full text of the special section is provided by the Text parameter, while the SectionId parameter provides the section identifier (e.g. "CDATA").

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