Table of Contents

Method SetImageMargins

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

SetImageMargins(double, double)

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

void SetImageMargins(double x, double y)

Parameters

x double

New horizontal margin.

y double

New vertical margin.

Remarks

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