how to hide document border


https://www.nevron.com/Forum/Topic8824.aspx
Print Topic | Close Window

By Cristianf - 10 Years Ago

I want to hide the black border of the document in the thinweb component (WEB), this one:

http://s27.postimg.org/5gr35m8r7/nevron_documentborder.png

I tried with the following advice (from the knowledge base)

http://support.nevron.com/KB/a197/hide-or-change-the-border-of-a-diagram-drawing-document.aspx

But it didn't disappear... can you help me?

By Nevron Support - 10 Years Ago
Hi,

In order to hide the document border of a diagram you should use the following line of code:
document.BackgroundStyle.FrameStyle.Visible = false;

We tested it on our side and it works fine. If it does not work for you, then please submit a support ticket with your sample project. We will then be able to analyze your code and tell you what's wrong and how to fix it.