Skybound.Gecko.GeckoWebBrowser.CopyImageLocation C# (CSharp) Method

CopyImageLocation() public method

Copies the location of the currently selected image to the clipboard.
public CopyImageLocation ( ) : bool
return bool
        public bool CopyImageLocation()
        {
            if (CanCopyImageLocation)
            {
                try
                {
                    ClipboardCommands.CopyImageLocation();
                }
                catch (COMException comException)
                {
                    if ((comException.ErrorCode & 0xFFFFFFFF) != 0x80004005)
                        throw comException;
                }

                return true;
            }
            return false;
        }