Document.CopyPreviewPicture method (Visio)

Copies the preview picture from another document into the current document.

Syntax

expression.CopyPreviewPicture (pSourceDoc)

expression A variable that represents a Document object.

Parameters

Name Required/Optional Data type Description
pSourceDoc Required [IVDOCUMENT] The Document object whose preview picture you want to copy into this document.

Return value

Nothing

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.