/// <include file='doc\Font.uex' path='docs/doc[@for="Font.Clone"]/*' /> /// <devdoc> /// Creates an exact copy of this <see cref='System.Drawing.Font'/>. /// </devdoc> public object Clone() { IntPtr cloneFont = IntPtr.Zero; int status = SafeNativeMethods.GdipCloneFont(new HandleRef(this, nativeFont), out cloneFont); if (status != SafeNativeMethods.Ok) { throw SafeNativeMethods.StatusException(status); } Font newCloneFont = new Font(cloneFont, gdiCharSet, gdiVerticalFont); return(newCloneFont); }