Table of Contents

Method SetRatio

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

SetRatio(int, int)

Sets Ratio item attribute.

void SetRatio(int width, int height)

Parameters

width int

Width value.

height int

Height value.

Remarks

If either of dimensions is zero, ratio is assumed to be 1 to avoid "divide by zero" errors