Table of Contents

Enum Direct2DPictureBoxSizeMode

Namespace
PaintDotNet.Controls
Assembly
PaintDotNet.Framework.dll
public enum Direct2DPictureBoxSizeMode

Fields

Normal = 0

The bitmap is placed in the upper-left corner of the Direct2DPictureBox. The bitmap is clipped if it is larger than the Direct2DPictureBox it is contained in.

StretchBitmap = 1

The bitmap within the Direct2DPictureBox is stretched or shrunk to fit the size of the Direct2DPictureBox.

Zoom = 4

The size of the bitmap is increased or decreased maintaining the size ratio.