B2020-082 – Text was missing from the bottom of some table cells in the PDF File. Logic was added to adjust the top offset according to the font family name (Courier and VESymbFix).
This commit is contained in:
parent
7771cf66e0
commit
d0e2eda999
@ -987,7 +987,12 @@ public string Path
|
||||
foreach (vlnCell myCell in this)
|
||||
{
|
||||
// B2020-034 - the topPlacementAdjust is used to position the text vertically in the table cells.
|
||||
int topPlacementAdjust = (myCell.MyPara.Font.Size == 12)? 1 : 3; // for font size of 12 set to one, else set to 3
|
||||
// B2020-082 - AEP Production - American Electric Power - D. C. Cook
|
||||
// / Current (Post FLEX) - U1 NOP NOT [EOPs] - ES-3.3.SProcedure Body.S9..S1..S1..T1.
|
||||
// Table did not print properly. Cell text was truncated.
|
||||
int topPlacementAdjust = (myCell.MyPara.Font.Size == 12 &&
|
||||
myCell.MyPara.Font.Familyname != "Courier New" &&
|
||||
myCell.MyPara.Font.Familyname != "VESymbFix") ? 1 : 3; // for font size of 12 set to one, else set to 3
|
||||
myCell.ToPdf(myColumnText, left, top, topPlacementAdjust);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user