简体   繁体   中英

Remove the nasty 3D Border from an ActiveX Control within a C# WPF Application

I am using the Microsoft MapPoint 2011 ActiveX Control in a Windows Forms Host within a WPF Application and try to remove the nasty 3D Border. I already tried to set the following Properties without success:

axMapPointControl1.BorderStyle = 0;
axMapPointControl1.Appearance = 0;

Any ideas?

I double checked it for you and your code seems fine. Is there something at runtime that might be overriding your settings?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM