Click here to Skip to main content
15,904,416 members
Home / Discussions / C#
   

C#

 
QuestionCrystal Reports Pin
CodingYoshi7-Apr-09 11:06
CodingYoshi7-Apr-09 11:06 
AnswerRe: Crystal Reports Pin
Mycroft Holmes7-Apr-09 12:28
professionalMycroft Holmes7-Apr-09 12:28 
QuestionIn search of a good PDF viewer control for .NET WinForms Pin
gongchengshi7-Apr-09 10:04
gongchengshi7-Apr-09 10:04 
AnswerRe: In search of a good PDF viewer control for .NET WinForms Pin
Christian Graus7-Apr-09 10:45
protectorChristian Graus7-Apr-09 10:45 
QuestionButton does not generate clicked events after validating textbox in a usercontrol Pin
hmvo247-Apr-09 9:44
hmvo247-Apr-09 9:44 
QuestionRTCP Packet in .net (c# or vb.net) Pin
Saurabh90907-Apr-09 9:11
Saurabh90907-Apr-09 9:11 
QuestionLaunching and Saving an Excel file from Winform Pin
DevWithDoutbs7-Apr-09 8:43
DevWithDoutbs7-Apr-09 8:43 
AnswerRe: Launching and Saving an Excel file from Winform Pin
Rolf Jaeger15-Jun-09 17:25
Rolf Jaeger15-Jun-09 17:25 
QuestionUsing StreamWriter...... Help Guys [modified] Pin
Rajdeep.NET is BACK7-Apr-09 8:32
Rajdeep.NET is BACK7-Apr-09 8:32 
AnswerRe: Using StreamWriter...... Help Guys Pin
behzadcp7-Apr-09 8:40
professionalbehzadcp7-Apr-09 8:40 
GeneralRe: Using StreamWriter...... Help Guys Pin
Rajdeep.NET is BACK7-Apr-09 8:44
Rajdeep.NET is BACK7-Apr-09 8:44 
AnswerRe: Using StreamWriter...... Help Guys Pin
Ashfield7-Apr-09 20:55
Ashfield7-Apr-09 20:55 
GeneralRe: Using StreamWriter...... Help Guys Pin
al3xutzu007-Apr-09 22:45
al3xutzu007-Apr-09 22:45 
Questionadd control to syncfusion gridcontrol Pin
behzadcp7-Apr-09 8:27
professionalbehzadcp7-Apr-09 8:27 
AnswerRe: add control to syncfusion gridcontrol Pin
Judah Gabriel Himango7-Apr-09 19:34
sponsorJudah Gabriel Himango7-Apr-09 19:34 
QuestionBusqueda en un Datagridview Pin
yaguis7-Apr-09 8:07
yaguis7-Apr-09 8:07 
AnswerRe: Busqueda en un Datagridview Pin
Christian Graus7-Apr-09 11:14
protectorChristian Graus7-Apr-09 11:14 
AnswerRe: Busqueda en un Datagridview Pin
Rajdeep.NET is BACK7-Apr-09 20:02
Rajdeep.NET is BACK7-Apr-09 20:02 
AnswerRe: Busqueda en un Datagridview Pin
Blue_Boy7-Apr-09 22:19
Blue_Boy7-Apr-09 22:19 
QuestionFlood Fill in C# Pin
k_crysa7-Apr-09 7:49
k_crysa7-Apr-09 7:49 
AnswerRe: Flood Fill in C# Pin
Thomas Stockwell7-Apr-09 9:22
professionalThomas Stockwell7-Apr-09 9:22 
AnswerRe: Flood Fill in C# Pin
Christian Graus7-Apr-09 11:15
protectorChristian Graus7-Apr-09 11:15 
AnswerRe: Flood Fill in C# Pin
dybs7-Apr-09 19:19
dybs7-Apr-09 19:19 
k_crysa wrote:
I want to be able to fill areas with an undetermined shape


As for "undetermined shape", do you have access to the points used to define/enclose the region? If so, you may be able to use the System.Drawing.Drawing2D.GraphicsPath [^] or System.Drawing.Region[^] classes to fill your area. At the bottom of each of these pages is a link to "Members" of each class, so you can see the functions and properties available. I seem to remember there being a simple "Fill()" function, but can't find the reference to it right now. For performance reasons, it's usually best to avoid setting individual pixels if at all possible.

I could be wrong, I may be thinking of the FillMode, which might be different that what you're looking for. Anyone know if I'm on the right track here?

Hope this helps

Dybs
GeneralNeed Coding advice Pin
al3xutzu007-Apr-09 7:05
al3xutzu007-Apr-09 7:05 
GeneralRe: Need Coding advice Pin
Xmen Real 7-Apr-09 7:29
professional Xmen Real 7-Apr-09 7:29 

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.