Warning Event
Fires whenever a validation warning is encountered.
Syntax
virtual int FireWarning(IDocWriterWarningEventParams *e);
typedef struct {
int WarnCode;
char* Message;
int SegmentNumber;
int reserved;
} IDocWriterWarningEventParams;
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.