This documentation is for the old version. Go to the latest Upload Suite docs

BackgroundImageFormat.Position Property

Supported browsers: Internet ExplorerFirefoxGoogle ChromeSafari

Gets or sets a position of the background image.

Syntax

PHP
public function getPosition() {
}

public function setPosition($value) {
}

Property Value

Type: string

The position of the background image.

The following values are supported:

  • TopLeft - image will be displayed in the top left corner of the upload pane.
  • TopCenter - image will be displayed in the center of the top of the upload pane.
  • TopRight - image will be displayed in the right top corner of the upload pane.
  • CenterLeft - image will be displayed in the center of the left edge of the upload pane.
  • Center - image will be displayed in the center of the upload pane.
  • CenterRight - image will be displayed in the center of the right edge of the upload pane.
  • BottomLeft - image will be displayed in the bottom left corner of the upload pane.
  • BottomCenter - image will be displayed in the center of the bottom of the upload pane.
  • BottomRight - image will be displayed in the bottom right corner of the upload pane.

Default value is "Center".

See Also

Reference