Selection.EnhMetaFileBits Property

Word Developer Reference

Returns a Variant that represents a picture representation of how a selection or range of text appears.

Syntax

expression.EnhMetaFileBits

expression   A variable that represents a Selection object.

Remarks

The EnhMetaFileBits property returns an array of bytes, which can be used with the Microsoft Windows 32 Application Programming Interface from within the Microsoft Visual Basic or Microsoft C++ development environment.

Example

The following example returns the EnhMetaFileBits property.

Visual Basic for Applications
  Dim bytSelection() As Byte

bytSelection = Selection.EnhMetaFileBits

See Also