Nevron Forum

View border - how do I turn it off

https://www.nevron.com/Forum/Topic5422.aspx

By Kevin Harrison - Thursday, July 28, 2011

Just starting to use Diagram for mapping so I hope this question makes sense.  The View area always has a border which I want to turn off - I want my map to sit within the document with no obvious boundary beteen the map and the rest of the window.

However, View has no border property. How do I achieve this?

By Nevron Support - Friday, July 29, 2011

Hi Kevin,

The border you speak of is actually the border of the drawing document. To hide it, use the following line of code:

 

document.BackgroundStyle.FrameStyle.Visible = false;