コード例 #1
0
        private void on_print_settings(cef_print_handler_t *self, cef_print_settings_t *settings, int get_defaults)
        {
            CheckSelf(self);

            var m_settings = CefPrintSettings.FromNative(settings);

            OnPrintSettings(m_settings, get_defaults != 0);
            m_settings.Dispose();
        }
コード例 #2
0
 /// <summary>
 /// Returns a writable copy of this object.
 /// </summary>
 public CefPrintSettings Copy()
 {
     return(CefPrintSettings.FromNative(
                cef_print_settings_t.copy(_self)
                ));
 }
コード例 #3
0
 /// <summary>
 /// Create a new CefPrintSettings object.
 /// </summary>
 public static CefPrintSettings Create()
 {
     return(CefPrintSettings.FromNative(
                cef_print_settings_t.create()
                ));
 }