Warning Event
Fires whenever a validation warning is encountered.
Syntax
typedef void __fastcall (__closure *TibiIDocWriterWarningEvent)(System::TObject* Sender, TibiIDocWriterWarningEventParams *e);__property TibiIDocWriterWarningEvent OnWarning = {read=FOnWarning, write=FOnWarning};
typedef struct {
int WarnCode;
String Message;
int SegmentNumber;
} TibiIDocWriterWarningEventParams;
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.