Click to Rate and Give Feedback
MSDN
MSDN Library
Office Development
Office 2003
Reference
Properties
S
 SavePictureWithDocument Property
Word 2003 VBA Language Reference
SavePictureWithDocument Property

True if the specified picture is saved with the document. Read/write Boolean.

expression.SavePictureWithDocument

expression Required. An expression that returns a LinkFormat object.

Remarks

This property works only with shapes and inline shapes that are linked pictures.

Example

This example saves the linked picture that's defined as the first inline shape in the active document when the document is saved.

Set myPic = ActiveDocument.InlineShapes(1)
If myPic.Type = wdInlineShapeLinkedPicture Then
    myPic.LinkFormat.SavePictureWithDocument = True
End If
		


Applies to | LinkFormat Object



© 2008 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker