Hello,
How can you draw a line in asp.net design view?
Thanks,
Jim 8 6882
You can't. What is your business requirement?
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com... Hello, How can you draw a line in asp.net design view? Thanks, Jim
since this is a user interface, I just wanted to draw a line in two group of
buttons so it will look nice. Anyway, I put a text box with height=1px
"Kevin Spencer" wrote: You can't. What is your business requirement?
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer What You Seek Is What You Get.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message news:ED**********************************@microsof t.com... Hello, How can you draw a line in asp.net design view? Thanks, Jim
Hi Jim,
You can use the <hr> HTML element. You can assign a style property to it and
change its height, width, color. etc.
Cheers,
Steve Goodyear
Vancouver, Canada
Ah, you don't want to DRAW a line. You want to DISPLAY a line. That's quite
a bit different. I would go with Steve on this one - a <hr> would do the
trick.
--
HTH,
Kevin Spencer
Microsoft MVP
..Net Developer
What You Seek Is What You Get.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:63**********************************@microsof t.com... since this is a user interface, I just wanted to draw a line in two group of buttons so it will look nice. Anyway, I put a text box with height=1px
"Kevin Spencer" wrote:
You can't. What is your business requirement?
-- HTH,
Kevin Spencer Microsoft MVP ..Net Developer What You Seek Is What You Get.
"JIM.H." <JI**@discussions.microsoft.com> wrote in message news:ED**********************************@microsof t.com... > Hello, > How can you draw a line in asp.net design view? > Thanks, > Jim >
I still think "Drawing" a line would be funner. Learning how to use GDI+ is
awesome and return a jpg/gif/png content-type. :-)
Amil
"JIM.H." <JI**@discussions.microsoft.com> wrote in message
news:ED**********************************@microsof t.com... Hello, How can you draw a line in asp.net design view? Thanks, Jim
> You can use the <hr> HTML element. You can assign a style property to it
and change its height, width, color. etc.
but that's actually pretty buggy. HR is semantic, though, so it's still a
good option.
Otherwise, CSS is your friend. With CSS, you can apply borders to any
block-level object. Applying a top-margin would be akin to a horizontal rule
visually.
-Darrel
There is the <hr> tag for a horizontal line. Other line drawing tricks
are usually done with image files, or adding borders to tables and
blocks, but there is no such beast as Page.DrawLine(x1, y1, x2, y2) if
that is what you are looking for.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 8 Apr 2005 11:25:03 -0700, JIM.H.
<JI**@discussions.microsoft.com> wrote: Hello, How can you draw a line in asp.net design view? Thanks, Jim This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Remon Huijts |
last post by:
Hi there,
For a very specific service, I have created a PHP script that uses the GD
library functions to create a PNG image from a few lines of XML data
describing a simple diagram/drawing. It's...
|
by: john |
last post by:
Hi I am a C++ newbie, I am looking to draw single lines and simple
boxes in a C++ console window. Is there a draw command with x and y
coordinates that can be used with my Dev C++ compiler. For...
|
by: Tomi Holger Engdahl |
last post by:
I am looking for a solution to add on-line drawing tool
to a phpBB discussion board.
The idea would be that the users can draw their own
simple drawings with the tool and attach them easily
as...
|
by: Steve Long |
last post by:
Hello, (total GDI newbie)
I'm having trouble drawing just a simple line to display in a picturebox. I
just want a straight, dotdash line.
I have two methods, one works and one doesn't (it cause...
|
by: Rene |
last post by:
I tried searching the newsgroups to see how do you draw a dotted line but I
was unable to find an answer, drawing a straight line is very easy but not a
dotted one.
So the question is, how do I...
| |
by: Champika Nirosh |
last post by:
Hi,
I want to create drawing board application that can draw Line, rectagle,
circle and free hand drawing.
Each drawing need to be transparent, moveable (draggable), have bring to
front and...
|
by: Stuart Norris |
last post by:
Dear Readers,
I am attempting to draw box around some text using unicode on
multiline label. The label is forty characters wide and 12 lines deep.
I have been trying to draw a box around text...
|
by: davetelling |
last post by:
I am not a programmer, I'm an engineer trying to make an interface to a
product I'm designing. I have used C# to make a form that interrogates the
unit via the serial port and receives the data. I...
|
by: mattc66 via AccessMonster.com |
last post by:
Does anyone know of some simple line drawing add-on apps. I just need to be
able to do some simple line drawing with dims. 4 walls and a door and allow
the user to type the dims for the walls. All...
|
by: Macias |
last post by:
Hi,
Please help me, how I can make a line drawing on PictureBox similar to
MS paint. I thinking about this: click and hold button, move mouse and
relase button.
I'm trying useing this...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
|
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
|
by: bsmnconsultancy |
last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...
| |