NShape Reference
ImageLayoutMode Enumeration

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape >

NShape Reference
ImageLayoutMode Enumeration

Previous pageReturn to chapter overviewNext page

Defines the layout of an image.

Syntax

public enum ImageLayoutMode { 
 Original, 
 Center, 
 Stretch, 
 Fit, 
 Tile, 
 CenterTile, 
 FilpTile 
}

Description

Defines the layout of an image referring to a layout area.

Values

Name

Value

Original

The image is displayed unscaled.

Center

The image is centered inside the layout area.

Stretch

The image is stretched to fit the layout area ignoring the original aspect ratio of the image.

Fit

The image is stretched to fit the layout area keeping the original aspect ratio of the image.

Tile

The whole layout area is filled with tiles consisting of the image in its original size and aspect ratio.

CenterTile

The whole layout area is filled with tiles consisting of the image in its original size and aspect ratio. All tiles are layouted around a centered tile.

FilpTile

The whole layout area is filled with tiles consisting of the image in its original size and aspect ratio. Tiles are flipped by X and Y.

Requirements

Namespace: Dataweb.NShape

Assembly: Dataweb.NShape