Word.UnderlineType enum
Die unterstützten Formatvorlagen für das Unterstreichungsformat.
Hinweise
Beispiele
// Underline format text
// Run a batch operation against the Word object model.
await Word.run(async (context) => {
// Create a range proxy object for the current selection.
const selection = context.document.getSelection();
// Queue a command to underline the current selection.
selection.font.underline = Word.UnderlineType.single;
// Synchronize the document state by executing the queued commands,
// and return a promise to indicate task completion.
await context.sync();
console.log('The selection now has an underline style.');
});
Felder
dashLine = "DashLine" | Ein einzelner Strich unterstreicht. |
dashLineHeavy = "DashLineHeavy" | |
dashLineLong = "DashLineLong" | |
dashLineLongHeavy = "DashLineLongHeavy" | |
dotDashLine = "DotDashLine" | Eine abwechselnde Punktstrich-Unterstreichung. |
dotDashLineHeavy = "DotDashLineHeavy" | |
dotLine = "DotLine" | Warnung: dotLine ist veraltet. |
dotted = "Dotted" | Eine gepunktete Unterstreichung. |
dottedHeavy = "DottedHeavy" | |
double = "Double" | Eine doppelte Unterstreichung. |
hidden = "Hidden" | Warnung: Ausgeblendet wurde als veraltet gekennzeichnet. |
mixed = "Mixed" | |
none = "None" | Keine Unterstreichung |
single = "Single" | Eine einzelne Unterstreichung. Dies ist der Standardwert. |
thick = "Thick" | Eine einzelne dicke Unterstreichung. |
twoDotDashLine = "TwoDotDashLine" | Eine abwechselnde Punkt-Punkt-Strich-Unterstreichung. |
twoDotDashLineHeavy = "TwoDotDashLineHeavy" | |
wave = "Wave" | Eine einzelne wellenförmige Unterstreichung. |
waveDouble = "WaveDouble" | |
waveHeavy = "WaveHeavy" | |
word = "Word" | Unterstreichen Sie nur einzelne Wörter. |
Zusammenarbeit auf GitHub
Die Quelle für diesen Inhalt finden Sie auf GitHub, wo Sie auch Issues und Pull Requests erstellen und überprüfen können. Weitere Informationen finden Sie in unserem Leitfaden für Mitwirkende.
Office Add-ins