Table of Contents

Method RequireMeasure

Namespace
Alternet.Drawing
Assembly
Alternet.UI.Common.dll

RequireMeasure(double, ref Graphics?)

Updates storage with measurement canvas which can be used in order to measure text sizes.

public static bool RequireMeasure(double scaleFactor, ref Graphics? storage)

Parameters

scaleFactor double

Scaling factor.

storage Graphics

Updated measurement canvas.

Returns

bool

True if storage contains permanent canvas that can be kept in memory; False if canvas is temporary and should not be saved.