RE: GDI+ DrawString(...) Limitation???

Tech-Archive recommends: Fix windows errors by optimizing your registry



Nobody knows how to do it?



"George" wrote:

> In GDI, when I need a certain part of the string I can provide the Clipping
> Rectangle. However, I don't see any equivalent in GDI+.
>
> The Exact problem is that I need to draw a part of the string from location
> x1,y1 and draw it at location x2,y2. The ovbvious solution is to first draw
> the whole string onto a Buffer DC and then from that DC copy the desired part
> on to the final DC, However, the problem with this approach is that the
> string could be very long (upto 512 characters) and I am doing a marquee
> animation with the text and can't afford to create a buffer that big!
>
> Any suggestions would be Appreciated!
.



Relevant Pages

  • Re: GDI/Screen capture
    ... The standard GDI is the only way to go for now. ... Watch my blog and I'll post the ... Justin Rogers ... >>> lpDriverName As String, ByVal lpDeviceName As String, ByVal lpOutput As ...
    (microsoft.public.dotnet.framework.drawing)
  • Re: To display a picture
    ... The image is in TIFF format, ... ENM> GDI is very fast. ... Is your picture owner-drawn and how do you draw? ... // Create a string. ...
    (microsoft.public.vc.atl)
  • Re: Dynamically create Drawing.Pens color?
    ... Try Int32.Parse or TryParse to convert from string to a 32 bit value and then use that in the FromArgb. ... Find great Windows Forms articles in Windows Forms Tips and Tricks ... Answer those GDI+ questions with the GDI+ FAQ ... > Dim strFore As String ...
    (microsoft.public.dotnet.framework.drawing)
  • Drawing string usig GDI under C#
    ... I want to simply draw a string using Widows GDI. ... I want to do the same but using the GDI and PInvoke. ...
    (microsoft.public.win32.programmer.gdi)
  • GDI+ DrawString(...) Limitation???
    ... In GDI, when I need a certain part of the string I can provide the Clipping ... The Exact problem is that I need to draw a part of the string from location ... the whole string onto a Buffer DC and then from that DC copy the desired part ...
    (microsoft.public.win32.programmer.gdi)