PI Event

Fired when a processing instruction section is encountered.

Syntax

public event OnPIHandler OnPI;

public delegate void OnPIHandler(object sender, OfficedocPIEventArgs e);

public class OfficedocPIEventArgs : EventArgs {
  public string Text { get; }
}
Public Event OnPI As OnPIHandler

Public Delegate Sub OnPIHandler(sender As Object, e As OfficedocPIEventArgs)

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

Remarks

The PI event is fired whenever a processing instruction section (<? ..text... ?>) is found in the document.

The full text of the processing instruction is provided by the Text parameter.

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