EnhMetaFileBits Property

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

Note  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.


expression Required. An expression that returns one of the objects in the Applies To list.


The following example returns the EnhMetaFileBits property.

Dim bytSelection() As Byte

bytSelection = Selection.EnhMetaFileBits

Applies to | Range Object | Selection Object