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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.