Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Wed, 11 Jun 2008 06:59:00 -0700,    group: microsoft.public.publisher.programming        back       


Draw Border inside Frame functionality   
Does anyone know what the property that sets or changes the "Draw Border 
Inside Frame" functionality?  This is a checkbox in the Autoshape format 
dialog under Colors and Borders.  It has been baffling me for some time, and 
I cannot figure it out.  I even examined two objects (one set true and one 
false) in a watch window and could not see any difference...  Any help would 
be appreciated.
date: Wed, 11 Jun 2008 06:59:00 -0700   author:   Cory

Re: Draw Border inside Frame functionality   
To add the border equally to both the inside and the outside of a rectangle, 
rather than to the inside only, clear the Draw border inside frame check box. 
This will help to prevent the border from overlapping objects that are located 
inside of the rectangle.

Select the rectangle, and then click AutoShape on the Format menu.
Click the Colors and Lines tab and then clear the Draw border inside frame check 
box.

-- 
Mary Sauer MSFT MVP
http://office.microsoft.com/
http://msauer.mvps.org/
news://msnews.microsoft.com

"Cory"  wrote in message 
news:7C39A3B5-8D14-4C23-94A0-D20FDFEEA203@microsoft.com...
> Does anyone know what the property that sets or changes the "Draw Border
> Inside Frame" functionality?  This is a checkbox in the Autoshape format
> dialog under Colors and Borders.  It has been baffling me for some time, and
> I cannot figure it out.  I even examined two objects (one set true and one
> false) in a watch window and could not see any difference...  Any help would
> be appreciated.
date: Wed, 11 Jun 2008 11:16:13 -0400   author:   Mary Sauer

Re: Draw Border inside Frame functionality   
Actually I was asking about the VBA property that would change that 
functionality, and I found it.  It is the InsetPen property which is Boolean.
ActiveDocument.Pages(1).Shapes(1).Line.InsetPen = msoTrue/msoFalse...

Cory

"Mary Sauer" wrote:

> To add the border equally to both the inside and the outside of a rectangle, 
> rather than to the inside only, clear the Draw border inside frame check box. 
> This will help to prevent the border from overlapping objects that are located 
> inside of the rectangle.
> 
> Select the rectangle, and then click AutoShape on the Format menu.
> Click the Colors and Lines tab and then clear the Draw border inside frame check 
> box.
> 
> -- 
> Mary Sauer MSFT MVP
> http://office.microsoft.com/
> http://msauer.mvps.org/
> news://msnews.microsoft.com
> 
> "Cory"  wrote in message 
> news:7C39A3B5-8D14-4C23-94A0-D20FDFEEA203@microsoft.com...
> > Does anyone know what the property that sets or changes the "Draw Border
> > Inside Frame" functionality?  This is a checkbox in the Autoshape format
> > dialog under Colors and Borders.  It has been baffling me for some time, and
> > I cannot figure it out.  I even examined two objects (one set true and one
> > false) in a watch window and could not see any difference...  Any help would
> > be appreciated. 
> 
> 
>
date: Wed, 11 Jun 2008 10:28:00 -0700   author:   Cory

Re: Draw Border inside Frame functionality   
Cory wrote:
> Actually I was asking about the VBA property that would change that 
> functionality, and I found it.  It is the InsetPen property which is Boolean.
> ActiveDocument.Pages(1).Shapes(1).Line.InsetPen = msoTrue/msoFalse...

Cool, thanks for sharing your solution :)

(Although anything that takes "msoTrue" and "msoFalse" isn't Boolean, 
it's msoTriState. Not that that makes a blind bit of different for 99% 
of users.)

-- 
Ed Bennett - MVP Microsoft Publisher
http://ed.mvps.org
date: Wed, 11 Jun 2008 22:22:12 +0100   author:   Ed Bennett

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us