CommandBarButtonClass.CopyFace Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.