Table of Contents

Method CreateMemoryCanvas

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

CreateMemoryCanvas(Image)

Creates memory canvas for the specified image.

public static Graphics CreateMemoryCanvas(Image image)

Parameters

image Image

Image on which canvas is created.

Returns

Graphics

CreateMemoryCanvas(double?)

Creates memory canvas for the specified scale factor. This canvas can be used to perform text measure.

public static Graphics CreateMemoryCanvas(double? scaleFactor = null)

Parameters

scaleFactor double?

Scale factor.

Returns

Graphics