This commit is contained in:
2011-05-19 13:36:09 +00:00
parent 1d84dd29e3
commit 1b1e5668d1
4 changed files with 12 additions and 8 deletions

View File

@@ -168,7 +168,7 @@ namespace Volian.Print.Library
}
myparagraph.Alignment = MessageAlignment;
myparagraph.Leading = iFont.Size;
float w = vlnPrintObject.GetTableWidth(cb, myparagraph);
float w = vlnPrintObject.GetTableWidth(cb, myparagraph, MyParent.MyItemInfo.MyDocStyle.Layout.PageWidth);
float h = vlnPrintObject.GetParagraphHeight(cb, myparagraph, w);
cb.SetColorFill(changeBarColor);
Rtf2Pdf.TextAt(cb, myparagraph, XOffset + xAdj - Rtf2Pdf.Offset.X + 3, yBottom + h - Rtf2Pdf.Offset.Y + 2.7F, w, h, "", yBottomMargin);