Example #1
0
        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");
            }
        }
Example #2
0
 /// <summary>
 /// Set readDataCallback
 /// </summary>
 /// <param name="readDataCallback"></param>
 public static void SetReadDataCallback(PdfFactoryInterface.ReadDataCallback readDataCallback)
 {
     PdfFactoryInterface.SetReadDataCallback(readDataCallback);
 }
Example #3
0
        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");
            }
        }