public unsafe void SetColorModel(CefColorModel model) { fixed(cef_print_settings_t *self = &this) { ((delegate * unmanaged[Stdcall] < cef_print_settings_t *, CefColorModel, void >)set_color_model)(self, model); } }
public static void set_color_model(cef_print_settings_t *self, CefColorModel model) { set_color_model_delegate d; var p = self->_set_color_model; if (p == _p14) { d = _d14; } else { d = (set_color_model_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_color_model_delegate)); if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; } } d(self, model); }
/// <summary> /// Set the color model. /// </summary> public void SetColorModel(CefColorModel colorModel) { cef_print_settings_t.set_color_model(_self, colorModel); }
/// <summary> /// Set the color model. /// </summary> public void SetColorModel(CefColorModel colorModel) { cef_print_settings_t.set_color_model(_self, colorModel); }
public unsafe extern void SetColorModel(CefColorModel model);
/// <summary> /// Set the color model. /// </summary> public void SetColorModel(CefColorModel model) { throw new NotImplementedException(); // TODO: CefPrintSettings.SetColorModel }
public static void set_color_model(cef_print_settings_t* self, CefColorModel model) { set_color_model_delegate d; var p = self->_set_color_model; if (p == _p14) { d = _d14; } else { d = (set_color_model_delegate)Marshal.GetDelegateForFunctionPointer(p, typeof(set_color_model_delegate)); if (_p14 == IntPtr.Zero) { _d14 = d; _p14 = p; } } d(self, model); }