示例#1
0
        public void TestImageCreation()
        {
            if (!File.Exists(EpubPath))
            {
                return;
            }

            BibleTextImage image  = new BibleTextImage();
            var            images = image.Generate(EpubPath, 1, "3:15");
        }
示例#2
0
        public void Refresh()
        {
            if (_currentBookNumber > 0 && !string.IsNullOrEmpty(_currentChapterAndVerses))
            {
                using (_userInterfaceService.GetBusy())
                {
                    var bibleTextImage = new BibleTextImage();

                    ApplyFormatting(bibleTextImage, _optionsService.ThemePath);

                    _images = _optionsService.EpubPath != null
                        ? bibleTextImage.Generate(
                        _optionsService.EpubPath,
                        _currentBookNumber,
                        _currentChapterAndVerses).ToArray()
                        : null;
                }
            }
        }
示例#3
0
 public void TestImageCreation()
 {
     BibleTextImage image  = new BibleTextImage();
     var            images = image.Generate(EpubPath, 1, "3:15");
 }