.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Watermark document window

0 REPLIES 0
Reply
Message 1 of 1
matt.hibb
297 Views, 0 Replies

Watermark document window

I was hoping to add an image into a corner of the document window, kind of like a watermark. Similar in behaviour to the compass looking thing in the top right of the document document window in 2011.

Anyone had any success doing such a thing?

I have been trying with something like the following code with no success (nothing paints):
Graphics g = Graphics.FromHwnd(Application.DocumentManager.MdiActiveDocument.Window.Handle);
g.DrawImage(Image.FromFile(<path-to-image>), 0, 0);

Any pointers in the right direction would be greatly appreciated!

Thanks
0 REPLIES 0

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Autodesk Design & Make Report