Click here to Skip to main content
11,494,851 members (58,794 online)
Click here to Skip to main content
Add your own
alternative version

Can I Get Real Color After Apply Form Opacity?

, 6 Sep 2011 CPOL 3K
I'm Drawing Rectangle using `Grahpics` Class(GDI+).And I have set the form's opacity to 30%.this is my code. Graphics gr = e.Graphics; Pen pen = new Pen(new SolidBrush(Color.FromArgb(255,Color.Red)),1); gr.Clear(this.BackColor); ...



Compare Revision Minor Date Status Editor
3 - publicly available Yes 7-Sep-11 4:42 Available CS2011
2 No 6-Sep-11 6:40 Available Toniyo Jackson
1 No 6-Sep-11 6:36 Available rus204


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author


Korea (Republic Of) Korea (Republic Of)
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 7 Sep 2011
Article Copyright 2011 by rus204
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid