473,396 Members | 1,779 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,396 software developers and data experts.

Picture box displays an edge on right and bottom border

Hi

We are using picurebox for displaying images in our application. The
images are colored bitmaps generated within the application. When the
bitmap is pasted to the Picurebox using graphics.DrawImage() in Paint
event handler, it is displayed. However, there is a thin dark edge
also displayed along with the right hand side and bottom border.

I tried using Borderstyle as None. But of no use. The BackgroundColor
= Transparent seems to do the trick. However I need the background as
black colored. Has anyone faced this problem before? Is there any
solution?

Best regards
Amit Dedhia

Jun 14 '07 #1
2 2073
On Jun 14, 2:57 pm, Amit <amitded...@yahoo.comwrote:
Hi

We are using picurebox for displaying images in our application. The
images are colored bitmaps generated within the application. When the
bitmap is pasted to the Picurebox using graphics.DrawImage() in Paint
event handler, it is displayed. However, there is a thin dark edge
also displayed along with the right hand side and bottom border.

I tried using Borderstyle as None. But of no use. The BackgroundColor
= Transparent seems to do the trick. However I need the background as
black colored. Has anyone faced this problem before? Is there any
solution?

Best regardsAmitDedhia
More Information:
SizeMode is StretchImage. Does this information help?

Jun 14 '07 #2
On 14 jun, 05:57, Amit <amitded...@yahoo.comwrote:
Hi

We are using picurebox for displaying images in our application. The
images are colored bitmaps generated within the application. When the
bitmap is pasted to the Picurebox using graphics.DrawImage() in Paint
event handler, it is displayed. However, there is a thin dark edge
also displayed along with the right hand side and bottom border.

I tried using Borderstyle as None. But of no use. The BackgroundColor
= Transparent seems to do the trick. However I need the background as
black colored. Has anyone faced this problem before? Is there any
solution?

Best regards
Amit Dedhia

the sizes match??

Jun 14 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Acer | last post by:
hi, what's the best way to display pictures with an automatic generated shadow ?
3
by: jeff | last post by:
Hiya, Im currently in the process of developing a picture browser, I want it to run off a CD, basically I have 2 questions for the group. The first is how do I get the program to only view the...
2
by: Steve | last post by:
Hi, I've come across what appears to be a bug in the rendering engine of internet explorer when a document is opened by showModalDialog. Basically any elements that should render to the right...
3
by: Kamyk | last post by:
Hello all! I would like to open a new window with a picture after clicking on a shrinked picture which is located on the main page. I want this new window to be exactly sized as original...
3
by: stan | last post by:
I have code that produces 5 boxes across the screen width. So far I have only tested it in IE 6 and NS 8. It works in IE, but in NS I am not able to fit in the 5th box. I am using two...
5
by: eholz1 | last post by:
Hello , I have a web page that has a div element, with css applied to that element. Within the div is an ul with li tags, etc. the displayed font size in IE is larger than the the font size in...
5
by: OtisUsenet | last post by:
Hi, I'm killing myself trying to get a "horizontal nav bar" where some text is left aligned, and some is aligned to the right, kind of like this: LEFT ...
5
by: Timeri | last post by:
This is a bit confusing until you actually see what I'm talking about but the main content of my page is not growing with the right column. I want the main content (left/larger column) to take into...
1
oranoos3000
by: oranoos3000 | last post by:
hi would you please help me i have a online shopping center that i show pictures of the my product in home page. in the InterExplorer pictures is shown correctly but in Firefox browser is shown...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
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...
0
agi2029
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 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.