Select to view content in your preferred language

How to hide/show the border of IMapFrame using C# ?

749
2
Jump to solution
10-09-2012 05:11 PM
TaiBui
by
Frequent Contributor
Hi,

Do you know how to hide/show the border of IMapFrame using C# ?

For example: I am having an IMapFrame with name: mapFrame. I can hide the border of it by using below statement:

mapFrame.Border = null;

But I don't know how to show the border again.


Thanks and regards,

Tai
0 Kudos
1 Solution

Accepted Solutions
KenBuja
MVP Esteemed Contributor
To set the IMapFrame::Border, you have to provide an IBorder. You can set the properties of the IBorder using the ISymbolBorder. Take a look at some examples of how to do that.

View solution in original post

0 Kudos
2 Replies
KenBuja
MVP Esteemed Contributor
To set the IMapFrame::Border, you have to provide an IBorder. You can set the properties of the IBorder using the ISymbolBorder. Take a look at some examples of how to do that.
0 Kudos
TaiBui
by
Frequent Contributor
To set the IMapFrame::Border, you have to provide an IBorder. You can set the properties of the IBorder using the ISymbolBorder. Take a look at some examples of how to do that.


Thank you !
0 Kudos