problems with the functiion printTable()
Posted: Wed Jan 12, 2011 5:57 pm
When i use the function printTable() with the config, like see the code in my thread, every white line is incorrect.
The grey lines are correct.
The grid arround the white lines is twice.
Does anyone know the error or no a solution???
https://www.winccoa.com/fileadmin/image ... sdruck.pdf
The grey lines are correct.
The grid arround the white lines is twice.
Does anyone know the error or no a solution???
Code: Select all
"main()
{
string bereich = COMBO_BOX1.selectedText();
dyn_string d1,d2,d3;
d2=makeDynString("");
d1=makeDynString("\\\\left{Anlage: Wasserversorgung der Stadt Dresden} \\\\right{\\\\page / \\\\numpages}",
"\\\\left{Betreiber DREWAG Stadtwerke GmbH}\\\\right{"+formatTime("%d.%m.%Y",getCurrentTime())+"}",
"\\\\center{Wartungsprotokoll "+bereich+"}");
d3 = makeDynString("");
int columnsType=PT_ALLCOLUMNS;
dyn_int columns=makeDynInt();
bool fitToPage=true;
bool landscape=true;
bool gridLines=true;
bool gridBackground=true;
dyn_int margin=makeDynInt( 20,20,20,20 );
string printerName="";
printTable("TABLE1",
TRUE,
d1,
d3,
columnsType,
columns,
fitToPage,
landscape,
gridLines,
gridBackground,
margin,
printerName);
}