StretchMode Enumeration

This enum is used to determine what type of scaling is applied when loading image.

Definition

Namespace: BeeMobile.DrawingPad
Assembly: BeeMobile.DrawingPad.NET48 (in BeeMobile.DrawingPad.NET48.dll) Version: 4.8.0.3
C#
public enum StretchMode

Members

Stretch0 Stretches the image to current bounds of the control.
ProportionalStretch1 Stretches the image to the bounds of the control preserves it's aspect ratio.
Crop2 No stretching operations will be performed on loaded images. If the image is larger than bounds of the control, then it will be cut down from the upper-left corner.

See Also