CommandBarButtonClass.CopyFace Method

Definition

Copies the face of a command bar button control to the Clipboard.

public:
 virtual void CopyFace() = Microsoft::Office::Core::_CommandBarButton::CopyFace;
public virtual void CopyFace ();
abstract member CopyFace : unit -> unit
override this.CopyFace : unit -> unit
Public Overridable Sub CopyFace ()

Implements

Examples

This example finds the built-in Open button, copies the button face to the Clipboard, and then pastes the face onto the Spelling and Grammar button.

Remarks

Use the PasteFace method to paste the contents of the Clipboard onto a button face.

Applies to