TOC : Script API > JavaScript > JavaScript API > Constant >

 

ImageAlignmentConst

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

TOC : Script API > JavaScript > JavaScript API > Constant >

 

ImageAlignmentConst

 

 

Values :

 

BottomCenter

Display original size at the bottom center

BottomLeft

Display original size at the bottom left

BottomRight

Display original size at the bottom right

Center

Center

Fit

Fit to the component's size

FitByHeight

Fit to the height of the component. The width of the image is adjusted automatically according to the change of the size.

FitByHeight_Center

Fit to the height of the component. The width of the image is adjusted automatically according to the change of the size. The image is located on the center of the component.

FitByWidth

Fit to the width of the component. The height of the image is adjusted automatically according to the change of the size.

FitByWidth_Center

Fit to the width of the component. The height of the image is adjusted automatically according to the change of the size. The image is located on the middle of the component.

Isotropic

Fit to the smaller one of width ratio and height ratio between component and image.

Isotropic_Center

Fit to the smaller one of width ratio and height ratio between component and image. The image is located on the center or middle of the component.

MiddleLeft

Display original size in the middle left

MiddleRight

Display original size in the middle right

Normal

Display original size from the top left

Tile

Tile

TopCenter

Display original size at top center

TopRight

Display original size at top right