Warning Event
Fires whenever a validation warning is encountered.
Syntax
type TWarningEvent = procedure Warning(Sender: TObject; WarnCode: Integer; const Message: String; SegmentNumber: Integer) of object;property OnWarning: TWarningEvent read FOnWarning write FOnWarning;
Remarks
The Warning event will fire if a validation error is encountered when writing a new segment to the output document. The WarnCode parameter contains the type of warning encountered. Message is a textual description of the problem. SegmentNumber is the index of the segment where the problem was found.