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
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.