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

            BibleTextImage image  = new BibleTextImage();
            var            images = image.Generate(EpubPath, 1, "3:15");
        }
コード例 #2
0
ファイル: ImagesService.cs プロジェクト: faurvasile57/OnlyV
        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");
 }