CopyAsPicture Method

Applies To

Range object, Selection object.

Description

On the Macintosh, this method copies the specified range or selection to the Clipboard as a picture. In Windows, CopyAsPicture works the same way as the Copy method.

Syntax

expression.CopyAsPicture

expression Required. An expression that returns a Range or Selection object.

See Also

Copy method, CopyFormat method.

Example

On the Macintosh, this example copies the first paragraph in the active document to the Clipboard as a picture, and then it pastes the picture into the next document.

ActiveDocument.Paragraphs(1).Range.CopyAsPicture
If Documents.Count >= 2 Then
    Documents(2).Activate
    ActiveDocument.Content.Paste
End If