You cannot.
To use the GDI Raster Ops you have to use interop.
--
Bob Powell [MVP]
Visual C#, System.Drawing
Answer those GDI+ questions with the GDI+ FAQ
http://www.bobpowell.net/gdiplus_faq.htm
The GDI+ FAQ RSS feed:
http://www.bobpowell.net/faqfeed.xml
Windows Forms Tips and Tricks RSS:
http://www.bobpowell.net/tipstricks.xml
Bob's Blog:
http://bobpowelldotnet.blogspot.com/atom.xml
"TECHNIMEX Vietnam" <techhanoi (AT) hn (DOT) vnn.vn> wrote
Quote:
In VB6, I use DrawMode to indicate the XOR when need to draw a XOR line
against the background image. But in .NET CF, they said that I must use
interop !?
I don't want to relate to GDI more.
Could you tell me a sample to draw a XOR line using CF (for my smartphone)
?
Thank you |