Select to view content in your preferred language

programatically to show line in page layout

708
1
11-27-2010 09:11 PM
andyvaniella
Emerging Contributor
Hi,
Can the horizontal line such as picture in the attachment be shown in the layout view by writing code with vba? If yes, please suggest how to do that?
Thanks
0 Kudos
1 Reply
AlexanderGray
Honored Contributor
Looks like you are trying to draw the page layout in draft mode (toggle draft mode command on the page layout toolbar.)  The IFrameElement.DraftMode property will do this but you need to set it on all the elements of the layout
http://resources.esri.com/help/9.3/ArcGISServer/apis/ArcObjects/esriCarto/IFrameElement_DraftMode_Ex...
0 Kudos