![]() ![]() TextProperties.TrySetFont(fontFamily, fontStyle, fontWeight) īoth Text and Graphic properties contain methods that can preserve and restore the current state. TextProperties.TrySetFont(FontFamily fontFamily) The TextProperties also exposes the following methods, which can be used for changing the current font: The property is of type VerticalAlignment.Įxample 2: Using TextProperties with Blockī = 5 = FontsRepository.TimesBold = Unit.PointToDip(12) = new RgbColor(40, 60, 80) =. = .Single = RgbColors.Black VerticalAlignment: The vertical positioning of the inserted text in the text block. The property is of type HorizontalAlignment. HorizontalAlignment: The horizontal positioning of the inserted text in the text block.
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |