FormatText Event
Reports XML text that is currently being processed.
Syntax
public event OnFormatTextHandler OnFormatText; public delegate void OnFormatTextHandler(object sender, XadessignerFormatTextEventArgs e); public class XadessignerFormatTextEventArgs : EventArgs { public string Text { get; set; } public int TextType { get; } public int Level { get; } public string Path { get; } }
Public Event OnFormatText As OnFormatTextHandler Public Delegate Sub OnFormatTextHandler(sender As Object, e As XadessignerFormatTextEventArgs) Public Class XadessignerFormatTextEventArgs Inherits EventArgs Public Property Text As String Public ReadOnly Property TextType As Integer Public ReadOnly Property Level As Integer Public ReadOnly Property Path As String End Class
Remarks
TextType parameter specifies the type of the XML text (normal or Base64-encoded) that is stored in the element; Path and Level specify the path to the XML element and its nesting level.
Among other purposes, this event may be used to add whitespace formatting before or after a particular element in the signature.