Using GDI+ to draw lines and points inside RichTextBox...

Using GDI+ to draw lines and points inside RichTextBox...

Post by jerem » Thu, 20 Nov 2003 23:57:06

Is it possible to use GDI+ to draw: lines, points, shapes, etc...
inside a RichTextBox? It seems VS.NET does this with the code edit
window (left margin code collapse/expand boxes)?


1. how to draw rotating line like Radar display in labview using line or point fucntion?

2. Exporting (saving) drawn lines etc. to EMF using GDI+

I am puzzled...

I'm working on a small app that allow the user to interactively
produce vector graphics (draw lines, curves, rectangles etc.) as well
as using stored files on disc (emf based, think of it as clipart). The
whole thing is done in GDI+ using C#. Everything works fine and great,

Now I want to enable the user to export his artwork to a recognized
format like emf (saving/loading for use withing this particular app
using a proprietary format works fine).

what is the appropriate approach to do this?

Conceptual approach and/or code snippet is much appreciated.

BR /Camilla

3. line drawing with three points inside picture box keeping a ratio

4. Draw lines, pset points, draw circles on a report

5. How to place a point on a line or just draw a point (small dot)

6. Drawing a line - point by point

7. How to draw points along a line at every 5 or 10 data point?

8. Draw line between two points using data on the spreedsheet

9. how to draw inflection point line using sigmaplot ?

10. Simple solution to draw point to point lines charts ?

11. C for the intersection point between a polygon and a line with points inside/outside.

12. Draw Image Using GDI+ ( MDI Application using MFC)

13. Embedding visio drawing inside another drawing (using SharePoint)

14. Draw line over richtextbox

15. Draw a line in a RichTextBox