c# - .NET GDI+ Invert Text -


what best method of inverting text using .net , gdi+. invert, mean draw different background/foreground colors. term best subjective, define mean speed, lines of code, easiest (i.e. there 1 function call can make?).

c# or vb.net fine.

you can fillrectangle brushes.black, drawstring brushes.white.
depending on scenario, can size of rectangle calling measurestring.


Comments

Popular posts from this blog

c# - Is it possible to remove an existing registration from Autofac container builder? -

asp.net - RadAsyncUpload in code behind, how to? -