public bool ChangeRenderBg(PdfPageRenderOptions renderOptions) { var temp = LocalSettingManager.ExistsSetting(App.SettingStrings["bgColor"]); if (temp) { renderOptions.BackgroundColor = Helper.Convert_HexColor(LocalSettingManager.ReadSetting(App.SettingStrings["bgColor"])).Color; } return(temp); }
public List <uint> LoadBookMarks(string path) { return(LocalSettingManager.ExistsSetting(App.SettingStrings["bookmark"] + path) ? JsonConvert.DeserializeObject <List <uint> >(LocalSettingManager.ReadSetting(App.SettingStrings["bookmark"] + path)) : new List <uint>()); }