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
Collaborer avec nous sur GitHub
La source de ce contenu se trouve sur GitHub, où vous pouvez également créer et examiner les problèmes et les demandes de tirage. Pour plus d’informations, consultez notre guide du contributeur.