示例#1
0
        /// <summary>
        /// Sets the underlying value as type double. Returns true (1) if the value was
        /// set successfully.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public bool SetDouble(double value)
        {
            var call = new CfxValueSetDoubleRenderProcessCall();

            call.@this = proxyId;
            call.value = value;
            call.RequestExecution(this);
            return(call.__retval);
        }
示例#2
0
        /// <summary>
        /// Sets the underlying value as type double. Returns true (1) if the value was
        /// set successfully.
        /// </summary>
        /// <remarks>
        /// See also the original CEF documentation in
        /// <see href="https://bitbucket.org/chromiumfx/chromiumfx/src/tip/cef/include/capi/cef_values_capi.h">cef/include/capi/cef_values_capi.h</see>.
        /// </remarks>
        public bool SetDouble(double value)
        {
            var call = new CfxValueSetDoubleRenderProcessCall();

            call.self  = CfrObject.Unwrap(this);
            call.value = value;
            call.RequestExecution(this);
            return(call.__retval);
        }