Share via


AttributedTextRunExtensions.Optimize Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static void Optimize(System::Collections::Generic::List<Microsoft::Maui::Graphics::Text::IAttributedTextRun ^> ^ runs, int textLength);
public static void Optimize (this System.Collections.Generic.List<Microsoft.Maui.Graphics.Text.IAttributedTextRun> runs, int textLength);
static member Optimize : System.Collections.Generic.List<Microsoft.Maui.Graphics.Text.IAttributedTextRun> * int -> unit
<Extension()>
Public Sub Optimize (runs As List(Of IAttributedTextRun), textLength As Integer)

Parameters

textLength
Int32

Applies to