Font.WithWeight 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.
Overloads
WithWeight(FontWeight) | |
WithWeight(FontWeight, FontSlant) |
WithWeight(FontWeight)
- Source:
- Font.cs
- Source:
- Font.cs
public:
Microsoft::Maui::Font WithWeight(Microsoft::Maui::FontWeight weight);
public Microsoft.Maui.Font WithWeight (Microsoft.Maui.FontWeight weight);
member this.WithWeight : Microsoft.Maui.FontWeight -> Microsoft.Maui.Font
Public Function WithWeight (weight As FontWeight) As Font
Parameters
- weight
- FontWeight
Returns
Applies to
WithWeight(FontWeight, FontSlant)
- Source:
- Font.cs
- Source:
- Font.cs
public:
Microsoft::Maui::Font WithWeight(Microsoft::Maui::FontWeight weight, Microsoft::Maui::FontSlant fontSlant);
public Microsoft.Maui.Font WithWeight (Microsoft.Maui.FontWeight weight, Microsoft.Maui.FontSlant fontSlant);
member this.WithWeight : Microsoft.Maui.FontWeight * Microsoft.Maui.FontSlant -> Microsoft.Maui.Font
Public Function WithWeight (weight As FontWeight, fontSlant As FontSlant) As Font
Parameters
- weight
- FontWeight
- fontSlant
- FontSlant
Returns
Applies to
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.