Questions tagged [system.drawing.graphics]

33 questions
0
votes
1 answer

How to Dynamically Update a PolyLine in WPF?

My Goal is to have a Polyline in which I can add a point every 2 seconds and the PolyLine reflects it in UI. I have a PolyLine that is bound to an ObservableCollection using a Value Converter as follows: XAML
0
votes
0 answers

how to draw string where substrings have different font styles

I am working on a designer like adobe Photoshop written in c#. I have given a task to implement a new feature which is to draw select and apply different font styles to a substring or word within text input and draw that. just like in the below…
TH Afridi
  • 442
  • 6
  • 17
0
votes
2 answers

How to save a system.drawing.graphics object to a PDF file using PDFsharp?

I have searched for hours trying to find out how to do this without any success. I did find the 'FromGraphics' command which reads a 'system.drawing.graphics' object into the XGraphics type, but am unsure how to add this to the PDF output. Most…
Garry_G
  • 169
  • 5
  • 12
1 2
3