Graphics.MeasureStringInternal 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.
public:
System::Drawing::SizeF MeasureStringInternal(ReadOnlySpan<char> text, System::Drawing::Font ^ font, System::Drawing::RectangleF layoutArea, System::Drawing::StringFormat ^ stringFormat, [Runtime::InteropServices::Out] int % charactersFitted, [Runtime::InteropServices::Out] int % linesFilled);
public System.Drawing.SizeF MeasureStringInternal (ReadOnlySpan<char> text, System.Drawing.Font font, System.Drawing.RectangleF layoutArea, System.Drawing.StringFormat? stringFormat, out int charactersFitted, out int linesFilled);
member this.MeasureStringInternal : ReadOnlySpan<char> * System.Drawing.Font * System.Drawing.RectangleF * System.Drawing.StringFormat * int * int -> System.Drawing.SizeF
Public Function MeasureStringInternal (text As ReadOnlySpan(Of Char), font As Font, layoutArea As RectangleF, stringFormat As StringFormat, ByRef charactersFitted As Integer, ByRef linesFilled As Integer) As SizeF
Parameters
- text
- ReadOnlySpan<Char>
- font
- Font
- layoutArea
- RectangleF
- stringFormat
- StringFormat
- charactersFitted
- Int32
- linesFilled
- Int32
Returns
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.