Comment Event

Fired when a comment section is encountered.

Syntax

public event OnCommentHandler OnComment;

public delegate void OnCommentHandler(object sender, OfficedocCommentEventArgs e);

public class OfficedocCommentEventArgs : EventArgs {
  public string Text { get; }
}
Public Event OnComment As OnCommentHandler

Public Delegate Sub OnCommentHandler(sender As Object, e As OfficedocCommentEventArgs)

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

Remarks

The Comment event is fired whenever a comment section (<!-- ..text... -->) is found in the document.

The full text of the comment is provided by the Text parameter.

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