-
Nov 22nd, 2011, 09:21 AM
#1
Thread Starter
Fanatic Member
Table Cropper tool.
i need to draw the table outline/border,columns, rows over on a image.
Like in Rectangular box in ms paint.
Visual Studio.net 2010
If this post is useful, rate it
-
Nov 22nd, 2011, 10:34 AM
#2
Member
Re: Table Cropper tool.
I'm not entirely sure I've understood your problem vijy, but if you want to draw a Table with an image behind it use:
Panel Control (BorderStyle: FixedSingle, BackgroundImage: <your image path>)
and, inside the Panel, a TableLayoutPanel with the Rows/Columns/Borders you want.
Chris.
-
Nov 22nd, 2011, 11:43 PM
#3
Thread Starter
Fanatic Member
Re: Table Cropper tool.
yes, you right but the thing is in runtime user need to draw the table on image.
so its possible to add a row, column in runtime.
Visual Studio.net 2010
If this post is useful, rate it
-
Nov 22nd, 2011, 11:49 PM
#4
Re: Table Cropper tool.
Originally Posted by vijy
yes, you right but the thing is in runtime user need to draw the table on image.
so its possible to add a row, column in runtime.
Yes. As usual, you should start by reading the documentation for the type you're using, i.e. the TableLayoutPanel control. As usual, it names and describes all the members. It describes ColumnCount thusly:
Gets or sets the number of columns in the table.
I will leave it to you to determine how to set the number of rows.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|