PictureCanvas.DrawString 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
DrawString(String, Single, Single, HorizontalAlignment) | |
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single) |
DrawString(String, Single, Single, HorizontalAlignment)
- Source:
- PictureCanvas.cs
- Source:
- PictureCanvas.cs
public:
virtual void DrawString(System::String ^ value, float x, float y, Microsoft::Maui::Graphics::HorizontalAlignment horizontalAlignment);
public void DrawString (string value, float x, float y, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment);
abstract member DrawString : string * single * single * Microsoft.Maui.Graphics.HorizontalAlignment -> unit
override this.DrawString : string * single * single * Microsoft.Maui.Graphics.HorizontalAlignment -> unit
Public Sub DrawString (value As String, x As Single, y As Single, horizontalAlignment As HorizontalAlignment)
Parameters
- value
- String
- x
- Single
- y
- Single
- horizontalAlignment
- HorizontalAlignment
Implements
Applies to
DrawString(String, Single, Single, Single, Single, HorizontalAlignment, VerticalAlignment, TextFlow, Single)
- Source:
- PictureCanvas.cs
- Source:
- PictureCanvas.cs
public void DrawString (string value, float x, float y, float width, float height, Microsoft.Maui.Graphics.HorizontalAlignment horizontalAlignment, Microsoft.Maui.Graphics.VerticalAlignment verticalAlignment, Microsoft.Maui.Graphics.TextFlow textFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, float lineSpacingAdjustment = 0);
abstract member DrawString : string * single * single * single * single * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
override this.DrawString : string * single * single * single * single * Microsoft.Maui.Graphics.HorizontalAlignment * Microsoft.Maui.Graphics.VerticalAlignment * Microsoft.Maui.Graphics.TextFlow * single -> unit
Public Sub DrawString (value As String, x As Single, y As Single, width As Single, height As Single, horizontalAlignment As HorizontalAlignment, verticalAlignment As VerticalAlignment, Optional textFlow As TextFlow = Microsoft.Maui.Graphics.TextFlow.ClipBounds, Optional lineSpacingAdjustment As Single = 0)
Parameters
- value
- String
- x
- Single
- y
- Single
- width
- Single
- height
- Single
- horizontalAlignment
- HorizontalAlignment
- verticalAlignment
- VerticalAlignment
- textFlow
- TextFlow
- lineSpacingAdjustment
- Single
Implements
Applies to
Collabora con noi su GitHub
L'origine di questo contenuto è disponibile in GitHub, in cui è anche possibile creare ed esaminare i problemi e le richieste pull. Per ulteriori informazioni, vedere la guida per i collaboratori.