private IntPtr _BuildGlobalSettings() { var ptr = NativeCalls.wkhtmltoimage_create_global_settings(); foreach (var item in GetProperties(null, GlobalSettings)) { _SetGlobalSetting(ptr, item.Key, item.Value); } return(ptr); }
private IntPtr _BuildGlobalSettings() { var ptr = NativeCalls.wkhtmltoimage_create_global_settings(); foreach (var item in GetProperties(null, GlobalSettings)) { _SetGlobalSetting(ptr, item.Key, item.Value); } return(ptr); }