Click or drag to resize
SoImageBackgroundStyles Enumeration

Image background style.

Namespace: OIV.Inventor.Nodes
Assembly: OIV.Inventor (in OIV.Inventor.dll) Version: 10.12.3.0 (10.12.3.0)
Syntax
public enum Styles
Members
  Member nameValueDescription
NONE0

No image is rendered.

CENTER1

Image is rendered actual size, centered in the window (image aspect ratio is preserved but image may be cropped and background may be visible).

LOWER_LEFT2

Image is rendered actual size in lower left corner (image aspect ratio is preserved but image may be cropped and background may be visible).

UPPER_LEFT3

Image is rendered actual size in upper left corner (image aspect ratio is preserved but image may be cropped and background may be visible).

UPPER_RIGHT4

Image is rendered actual size in upper right corner (image aspect ratio is preserved but image may be cropped and background may be visible).

LOWER_RIGHT5

Image is rendered actual size in lower right corner (image aspect ratio is preserved but image may be cropped and background may be visible).

STRETCH6

Image is stretched to exactly fill the viewport in both directions (image aspect ratio is not preserved).

TILE7

Image is tiled to fill window starting from lower left corner (image aspect ratio is preserved).

CROP8

Image is centered and stretched to exactly fill the longer dimension of the viewport (width or height) (image aspect ratio is preserved but portions of image will be cropped if the aspect ratio of the image and viewport are different).

FIT9

Image is centered and stretched to exactly fill the shorter dimension of the viewport (width or height) (image aspect ratio is preserved but background color will be visible on sides or top and bottom of the image if the aspect ratio of the image and viewport are different).

Remarks