Skip to content

TextElementMarkupExtensions.FontStyle<T> method

Sets the font style, which selects the family’s italic face.

public static T FontStyle<T>(this T target, FontStyle value)
where T : TextElement
parameter description
T Receiver type.
target Target TextElement.
value Value assigned to FontStyle.

The same element for chaining.

Sets: TextElement.FontStyle