示例#1
0
        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);
        }
示例#2
0
 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>());
 }