i saw this article that shows printing of listview using printdocument.. it helps me but then i want to place my list view on the middle of the page.. i want to know how to place it.. can you please help me? thank youu. !
paoi00
0
Junior Poster in Training
Recommended Answers
Jump to PostYou have to calculate 2 things:
1. the dimensions of the form
2. the dimensions of the control (listView in your case)Then calculate to position it in the middle.
So you can do:int formX = this.Width; int formY = this.Heigth; int listX = listView1.Width int …
Jump to PostMitja - is this a VB.net code???
All 5 Replies
Mitja Bonca
557
Nearly a Posting Maven
poojavb
29
Junior Poster
paoi00
0
Junior Poster in Training
Mitja Bonca
557
Nearly a Posting Maven
paoi00
0
Junior Poster in Training
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.