TextFormatter.Create Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Creates a new instance of the TextFormatter class.
Overloads
Create() |
Creates a new instance of the TextFormatter class. This is a static method. |
Create(TextFormattingMode) |
Creates a new instance of the TextFormatter class with the specified formatting mode. This is a static method. |
Create()
Creates a new instance of the TextFormatter class. This is a static method.
public:
static System::Windows::Media::TextFormatting::TextFormatter ^ Create();
public static System.Windows.Media.TextFormatting.TextFormatter Create ();
static member Create : unit -> System.Windows.Media.TextFormatting.TextFormatter
Public Shared Function Create () As TextFormatter
Returns
A new instance of TextFormatter.
Applies to
Create(TextFormattingMode)
Creates a new instance of the TextFormatter class with the specified formatting mode. This is a static method.
public:
static System::Windows::Media::TextFormatting::TextFormatter ^ Create(System::Windows::Media::TextFormattingMode textFormattingMode);
public static System.Windows.Media.TextFormatting.TextFormatter Create (System.Windows.Media.TextFormattingMode textFormattingMode);
static member Create : System.Windows.Media.TextFormattingMode -> System.Windows.Media.TextFormatting.TextFormatter
Public Shared Function Create (textFormattingMode As TextFormattingMode) As TextFormatter
Parameters
- textFormattingMode
- TextFormattingMode
The TextFormattingMode that specifies the text layout for the TextFormatter.
Returns
A new instance of TextFormatter.
See also
Applies to
Σχόλια
https://aka.ms/ContentUserFeedback.
Σύντομα διαθέσιμα: Καθ' όλη τη διάρκεια του 2024 θα καταργήσουμε σταδιακά τα ζητήματα GitHub ως μηχανισμό ανάδρασης για το περιεχόμενο και θα το αντικαταστήσουμε με ένα νέο σύστημα ανάδρασης. Για περισσότερες πληροφορίες, ανατρέξτε στο θέμα:Υποβολή και προβολή σχολίων για