473,327 Members | 2,016 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,327 software developers and data experts.

thickness of the line

I wrote a code for vertical lines in report which has memo fields... but the thickness of the line very less.. is it possible to increase the thickness of the line...


VSTS
Nov 7 '07 #1
10 15227
missinglinq
3,532 Expert 2GB
Sure , either go into the line's Property Box:

Properties - Format - Borders Width and set to 1-6 pts

or in VBA code

YourLineName.BorderWidth = 6

Linq ;0)>
Nov 7 '07 #2
i am unable to do it can you explain me in details
in the report because it had a memo field i wrote code for vertical lines and for those lines only i want increase the thickness
Nov 24 '07 #3
QVeen72
1,445 Expert 1GB
Hi,

Select the Line, Right-Click goto Properties,
In "All" Tab,
Set these properties:
Border Style = Solid
BorderWidth =4pt

You can also set the Border Colour.

Regards
Veena
Nov 24 '07 #4
It is possible when i draw the line
but i wrote code for it,
its not appearing in the design mode
but i will get it when i print the document
i think we should set this option in the code itself.
As i got the code on this websie only i am unable to change it


Hi,

Select the Line, Right-Click goto Properties,
In "All" Tab,
Set these properties:
Border Style = Solid
BorderWidth =4pt

You can also set the Border Colour.

Regards
Veena
Nov 24 '07 #5
QVeen72
1,445 Expert 1GB
Hi,

OK, then you must be using "Line" Function .
You can draw it this way:

Expand|Select|Wrap|Line Numbers
  1.     Printer.DrawStyle = vbSolid
  2.     Printer.DrawWidth = 5
  3.     Printer.Line (11280, 240)-(11280, 1080), vbRed
  4.     Printer.DrawWidth = 1
  5.  
Regards
Veena
Nov 24 '07 #6
I have total nine vertical lines in my report. Whether I have to give this code before mentioning all the line details or before that. when i tried at the beginning and at the end it is showing error.

can you plese guide me
Nov 26 '07 #7
QVeen72
1,445 Expert 1GB
Hi,

Yes, You need to give before drawing the Line..
What Code are you using to draw the line...?
and What is the Error message...?


Regards
Veena
Nov 26 '07 #8
This is the code i am using:
Me.Line (0 * 1440, 0)-(0 * 1440, 15350)
Me.Line (0.5 * 1440, 3500)-(0.5 * 1440, 14000)
Me.Line (2.3 * 1440, 3500)-(2.3 * 1440, 14000)
Me.Line (2.9 * 1440, 3500)-(2.9 * 1440, 14000)
like this i have seven lines
i want increase the width of each line.
Nov 26 '07 #9
QVeen72
1,445 Expert 1GB
Hi,

Change it to :

Expand|Select|Wrap|Line Numbers
  1.  
  2. Me.DrawStyle = vbSolid
  3. Me.DrawWidth = 5
  4.  
  5. Me.Line (0 * 1440, 0)-(0 * 1440, 15350)
  6. Me.Line (0.5 * 1440, 3500)-(0.5 * 1440, 14000)
  7. Me.Line (2.3 * 1440, 3500)-(2.3 * 1440, 14000)
  8. Me.Line (2.9 * 1440, 3500)-(2.9 * 1440, 14000)
  9.  
  10. Me.DrawWidth = 1
  11.  
  12.  
Regards
Veena
Nov 26 '07 #10
Ok, I will try
if I want to increase the line width further i have to change the number "5" or number "1"
just for confirmation
Nov 26 '07 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

8
by: Andrew Poulos | last post by:
Is there a small graphics library that I can use? All I need to do is draw a line of a nominated thickness and colour between two specified points and to, at some later time, "delete" the line? ...
2
by: Stuart Norris | last post by:
Dear Group, I am new to c# and windows form designer - coming from a Motif background. I am attempting to develop an application for a touch screen and I need to have a menu system with a...
1
by: MikeY | last post by:
I'm trying to find a way for changing the thickness of the groupbox borders. I've searched on this site but can't seem to find anything of this subject. Does anyone have a suggestion. Thanks in...
1
by: A.Neves | last post by:
Hi, I need to draw a curve with the thickness changing as function of some variable. How can I do this in C#? Any help would be very much appreciated. Thanks.
2
blazedaces
by: blazedaces | last post by:
Hey, I have an application that draws a polyline with Graphics': g.drawPolyline(getXPoints(),getYPoints(),nPoints); It's drawn onto a background image and so the background image is so many...
2
by: John | last post by:
Hi there, I need to create a rectangle between two points so that I can check what is inside it using Contains(). The problem I am having is how to make the rectangle be able to cope with the...
2
by: mathewgk80 | last post by:
Hi all, I would like to know whether we can increase the thickness of a horizontal line.. <html> <head> <title>HR</title> </head> <body> <hr>
1
by: thanawala27 | last post by:
Hi, I have created the graph using zedgraphs. The graph has 3 curves. Now, I wanted to increase the thickness of the curve. This is the code i have used while printing the graph. ...
2
complete
by: complete | last post by:
How do you draw a line on a canvas in WPF that is 1 pixel thick? This is the method I am using for drawing a line on a canvas in WPF that uses the line class set to 1 pixel thick but it actually...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 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 former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.