private void SetDefaultCallbacks() { if (Logging) { Logger.LogNotice("Setting default callbacks"); } OnInitializeDataStream += new PdfFactoryInterface.InitializeDataStreamCallback(PdfReporter_InitializeDataStream); OnReadData += new PdfFactoryInterface.ReadDataCallback(PdfReporter_ReadData); OnRequestData += new PdfFactoryInterface.RequestDataCallback(PdfReporter_RequestData); if (Logging) { Logger.LogNotice("Setting default callbacks - Success"); } }
/// <summary> /// Set Initialize DataStream callback /// </summary> /// <param name="initializeDataStreamCallback"></param> public static void SetInitializeDataStreamCallback(PdfFactoryInterface.InitializeDataStreamCallback initializeDataStreamCallback) { PdfFactoryInterface.SetInitializeDataStreamCallback(initializeDataStreamCallback); }
private void SetDefaultCallbacks() { if (Logging) { Logger.LogNotice("Setting default callbacks"); } OnInitializeDataStream += new PdfFactoryInterface.InitializeDataStreamCallback(PdfReporter_InitializeDataStream); OnReadData += new PdfFactoryInterface.ReadDataCallback(PdfReporter_ReadData); OnRequestData += new PdfFactoryInterface.RequestDataCallback(PdfReporter_RequestData); if (Logging) { Logger.LogNotice("Setting default callbacks - Success"); } }