DrawString(String,IDrawingFont,PdfBrush,PointF,TextLayoutProperties) Method (PdfGraphics)
Draws the specified text string in vector form at the specified location with specified
PdfBrush and
IDrawingFont objects using the formatting attributes specified by
TextLayoutProperties.
This method ignores carriage returns and new line characters.
Use overloaded method that takes rectangle, instead of point that specifies location, if carriage returns and new line characters should NOT be ignored.
Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5