Table of Contents

Method SetImageMargins

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

SetImageMargins(float, float)

Sets the margins between the image and the text of the button. Value is in device-independent units.

public void SetImageMargins(float x, float y)

Parameters

x float

New horizontal margin.

y float

New vertical margin.

Remarks

This method is currently only implemented under Windows. If it is not called, default margin is used around the image.