c# - How to assign the listview text to be on the right in print preview -


i have listview in form1 , in print preview use below code column text on listview on right when view them in print preview..

they on right please me how make them on right when print preview display.

 int[] x = { 40, 100, 160, 540, 650 }; //relative left margin510   int y = 450; //relative top margin   font f = listview3.font;   brush b = new solidbrush(listview3.forecolor);//    (int = 0; < listview3.items.count; i++)  {       (int j = 0; j < listview3.items[i].subitems.count; j++)       {           e.graphics.drawstring(listview3.items[i].subitems[j].text, f, b, x[j], y );//        }       y += f.height;   } 


Comments

Popular posts from this blog

mysql - How to unscape text from database in android studio -

php - Admin SDK -- get information about the group -

Making CSS Drop Down Menu 2 Columns -