This documentation is for the old version. Go to the latest Graphics Mill docs

ViewportAlignment Enumeration

Contains possible values for the image alignment inside the control.

Namespace: Aurigma.GraphicsMill.WinControls
Assembly: Aurigma.GraphicsMill.WinControls (in Aurigma.GraphicsMill.WinControls.dll)

Syntax

Visual Basic
Public Enumeration ViewportAlignment
C#
public enum ViewportAlignment

Members

Member name Description
LeftTop

The bitmap is aligned by the left side horizontally and by the top vertically.

LeftCenter

The bitmap is aligned by the left side horizontally and by the center vertically.

LeftBottom

The bitmap is aligned by the left side horizontally and by the bottom vertically.

CenterTop

The bitmap is aligned by the center horizontally and by the top vertically.

CenterCenter

The bitmap is aligned by the center horizontally and by the center vertically.

CenterBottom

The bitmap is aligned by the center horizontally and by the bottom vertically.

RightTop

The bitmap is aligned by the right side horizontally and by the top vertically.

RightCenter

The bitmap is aligned by the right side horizontally and by the center vertically.

RightBottom

The bitmap is aligned by the right side horizontally and by the bottom vertically.

Remarks

Makes sense only when the image displayed at the control is smaller than the client area of the control.

See Also

Reference