Added Profile debug
Changed NextItem property to use GetNextItem method when printing Changed RegisterFont to improve print performance
This commit is contained in:
@@ -8,6 +8,7 @@ using Volian.Svg.Library;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml;
|
||||
using VEPROMS.CSLA.Library;
|
||||
using Volian.Base.Library;
|
||||
|
||||
namespace Volian.Print.Library
|
||||
{
|
||||
@@ -200,6 +201,7 @@ namespace Volian.Print.Library
|
||||
//}
|
||||
public override void OnEndPage(PdfWriter writer, iTextSharp.text.Document document)
|
||||
{
|
||||
int profileDepth = ProfileTimer.Push(">>>> OnEndPage");
|
||||
InitialsPrinted = false;
|
||||
MyPromsPrinter.OnStatusChanged(string.Format("Page {0}", CurrentPageNumber+1));
|
||||
bool onBlankPage = OnBlankPage;
|
||||
@@ -286,6 +288,7 @@ namespace Volian.Print.Library
|
||||
PageListLastCheckOffHeader = null;
|
||||
YMultiplier = 1;
|
||||
PrintedAPage = true;
|
||||
ProfileTimer.Pop(profileDepth);
|
||||
}
|
||||
|
||||
private void DrawVertical(PdfContentByte cb, float x, float top, float bottom)
|
||||
|
Reference in New Issue
Block a user