다음을 통해 공유


ResizeMode Enum

Definition

Specifies how an image should be resized to fit a target area.

public enum class ResizeMode
public enum ResizeMode
type ResizeMode = 
Public Enum ResizeMode
Inheritance
ResizeMode

Fields

Name Value Description
Fit 0

Preserves aspect ratio and ensures the image fits within the target dimensions. May leave empty space if the aspect ratios don't match.

Bleed 1

Preserves aspect ratio and fills the target dimensions, potentially cropping the image.

Stretch 2

Ignores aspect ratio and stretches the image to exactly fit the target dimensions.

Applies to