Click here to Skip to main content
15,886,919 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionRADIUS authentication Pin
JKroschel5-Dec-05 4:16
JKroschel5-Dec-05 4:16 
QuestionDeployment Problem Pin
fasttaxi4-Dec-05 23:08
fasttaxi4-Dec-05 23:08 
QuestionHaving trouble with pInvoke, weird behavior. Pin
dxben3-Dec-05 16:11
dxben3-Dec-05 16:11 
AnswerRe: Having trouble with pInvoke, weird behavior. Pin
dnewmon5-Dec-05 7:42
dnewmon5-Dec-05 7:42 
QuestionSecurity permisions for unmanaged code in .Net Applet Pin
TheDen3-Dec-05 4:43
TheDen3-Dec-05 4:43 
AnswerRe: Security permisions for unmanaged code in .Net Applet Pin
dnewmon3-Dec-05 8:58
dnewmon3-Dec-05 8:58 
GeneralRe: Security permisions for unmanaged code in .Net Applet Pin
TheDen3-Dec-05 9:36
TheDen3-Dec-05 9:36 
GeneralRe: Security permisions for unmanaged code in .Net Applet Pin
dnewmon3-Dec-05 10:02
dnewmon3-Dec-05 10:02 
I just figured out a way to do this:
<br />
bmpCanvas = new Bitmap(320, 240, PixelFormat.Format32bppArgb);<br />
Graphics g = Graphics.FromImage(bmpCanvas);<br />
g.Clear(Color.White);<br />
g.FillRectangle(new SolidBrush(Color.Red), 0, 0, 200, 200);<br />
g.FillEllipse(new SolidBrush(Color.FromArgb(255, 0, 0, 0)), 0, 0, 200, 200);<br />
g.Dispose();<br />
bmpCanvas.MakeTransparent(Color.FromArgb(255, 0, 0, 0));<br />

The ellipse is an "erased" region and considered transparent.
I tried using Color.Transparent instead of Color.FromArgb(255, 0, 0, 0) but had no luck.

NOTE: The MakeTransparent(...) call has to be made every time you erase a region.

Enjoy,
David
GeneralRe: Security permisions for unmanaged code in .Net Applet Pin
TheDen3-Dec-05 10:17
TheDen3-Dec-05 10:17 
QuestionInstalling J# Redistrubutable Silently Pin
Farm Developer3-Dec-05 1:36
Farm Developer3-Dec-05 1:36 
Question.NET SDK Question Pin
akyriako782-Dec-05 21:55
akyriako782-Dec-05 21:55 
AnswerRe: .NET SDK Question Pin
Dave Kreskowiak3-Dec-05 4:03
mveDave Kreskowiak3-Dec-05 4:03 
AnswerRe: .NET SDK Question Pin
André Ziegler3-Dec-05 8:29
André Ziegler3-Dec-05 8:29 
QuestionVSTO excel locking Pin
Drew McGhie2-Dec-05 7:13
Drew McGhie2-Dec-05 7:13 
Questioni need a coding for converting text to speech Pin
dotnetkoders1-Dec-05 23:34
dotnetkoders1-Dec-05 23:34 
AnswerRe: i need a coding for converting text to speech Pin
jonathan152-Dec-05 2:36
jonathan152-Dec-05 2:36 
GeneralRe: i need a coding for converting text to speech Pin
Colin Angus Mackay3-Dec-05 10:04
Colin Angus Mackay3-Dec-05 10:04 
GeneralRe: i need a coding for converting text to speech Pin
Yuvi Panda9-Dec-05 16:18
Yuvi Panda9-Dec-05 16:18 
QuestionVSTO (Save as Version Word 2000) Pin
krisp1-Dec-05 14:56
krisp1-Dec-05 14:56 
QuestionNested classes and dialogs Pin
LHBalloti1-Dec-05 11:11
LHBalloti1-Dec-05 11:11 
AnswerRe: Nested classes and dialogs Pin
S. Senthil Kumar2-Dec-05 21:32
S. Senthil Kumar2-Dec-05 21:32 
QuestionATL Server Web Service Pin
linuxfreak1-Dec-05 7:31
linuxfreak1-Dec-05 7:31 
QuestionFeature/Addon to get the (C#) CODE sorted? Pin
eclipse2k11-Dec-05 5:48
eclipse2k11-Dec-05 5:48 
QuestionDevelop COM add-ins for Outlook 2003 with Outlook 2002 Pin
cathignol1-Dec-05 1:47
cathignol1-Dec-05 1:47 
QuestionQuick .NET CF Question Pin
garbeechio29-Nov-05 12:03
garbeechio29-Nov-05 12:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.