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
Colaborar conosco no GitHub
A fonte deste conteúdo pode ser encontrada no GitHub, onde você também pode criar e revisar problemas e solicitações de pull. Para obter mais informações, confira o nosso guia para colaboradores.