Table of Contents

Method CreateSpacerElement

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

CreateSpacerElement(SizeD, HVAlignment?)

Creates a spacer element with the specified size and alignment.

public static Graphics.DrawElementParams CreateSpacerElement(SizeD size, HVAlignment? alignment = null)

Parameters

size SizeD

The size of the spacer element, defined as a SizeD.

alignment HVAlignment?

The alignment of the spacer element, specified as a HVAlignment.

Returns

Graphics.DrawElementParams

A Graphics.DrawElementParams object representing the spacer element with the specified size and alignment.