абстрактный класс для сохранения курсов приема в ворд сделала
This commit is contained in:
parent
1ab91e7b63
commit
e8a9d126e4
@ -29,14 +29,15 @@ namespace PolyclinicBusinessLogic.OfficePackage
|
||||
{
|
||||
CreateParagraph(new WordParagraph
|
||||
{
|
||||
Texts = new List<(string, WordTextProperties)> {
|
||||
(sushi.SushiName, new WordTextProperties { Bold = true, Size = "24", }),
|
||||
(" цена: " + sushi.Price.ToString() + " рублей", new WordTextProperties { Size = "24", })
|
||||
Texts = new List<(string, WordTextProperties)>
|
||||
{
|
||||
("Количество пилюль в день: " + course.PillsPerDay.ToString() + " единиц", new WordTextProperties{ Size = "16"}),
|
||||
("Количество дней приёма: " + course.DaysCount.ToString() + " дней", new WordTextProperties{ Size = "16"}),
|
||||
},
|
||||
|
||||
TextProperties = new WordTextProperties
|
||||
{
|
||||
Size = "24",
|
||||
Size = "16",
|
||||
JustificationType = WordJustificationType.Both
|
||||
}
|
||||
});
|
||||
|
Loading…
Reference in New Issue
Block a user