FormattedText
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush)
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, Double)
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution)
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, Double)
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode)
FormattedText(String, CultureInfo, FlowDirection, Typeface, Double, Brush, NumberSubstitution, TextFormattingMode, Double)
Baseline
Extent
FlowDirection
Height
LineHeight
MaxLineCount
MaxTextHeight
MaxTextWidth
MinWidth
OverhangAfter
OverhangLeading
OverhangTrailing
PixelsPerDip
Text
TextAlignment
Trimming
Width
WidthIncludingTrailingWhitespace
BuildGeometry(Point)
BuildHighlightGeometry(Point)
BuildHighlightGeometry(Point, Int32, Int32)
GetMaxTextWidths()
SetCulture(CultureInfo)
SetCulture(CultureInfo, Int32, Int32)
SetFontFamily(FontFamily)
SetFontFamily(String)
SetFontFamily(FontFamily, Int32, Int32)
SetFontFamily(String, Int32, Int32)
SetFontSize(Double)
SetFontSize(Double, Int32, Int32)
SetFontStretch(FontStretch)
SetFontStretch(FontStretch, Int32, Int32)
SetFontStyle(FontStyle)
SetFontStyle(FontStyle, Int32, Int32)
SetFontTypeface(Typeface)
SetFontTypeface(Typeface, Int32, Int32)
SetFontWeight(FontWeight)
SetFontWeight(FontWeight, Int32, Int32)
SetForegroundBrush(Brush)
SetForegroundBrush(Brush, Int32, Int32)
SetMaxTextWidths(Double[])
SetNumberSubstitution(NumberSubstitution)
SetNumberSubstitution(NumberSubstitution, Int32, Int32)
SetTextDecorations(TextDecorationCollection)
SetTextDecorations(TextDecorationCollection, Int32, Int32)
net9.0-windows10.0.22621
namespace System.Windows.Media
{
public class FormattedText
{
[Obsolete("Use the PixelsPerDip override", false)]
public FormattedText(string textToFormat, CultureInfo culture, FlowDirection flowDirection, Typeface typeface, double emSize, Brush foreground, NumberSubstitution numberSubstitution, TextFormattingMode textFormattingMode);
}
}
NetFx Compat Lab | 7.6 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.1 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | PresentationCore , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs to set |
Obsolete | Use the PixelsPerDip override |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API