ETcVnPaddingMode

Offers padding modes.

Syntax

Definition:

TYPE ETcVnPaddingMode :
(
    TCVN_PM_NONE        := 0,
    TCVN_PM_CROP_CENTER := 1,
    TCVN_PM_LETTERBOX   := 2
)DINT;
END_TYPE

Values

Name

Description

TCVN_PM_NONE

Resize the image to the desired size without extra processing

TCVN_PM_CROP_CENTER

Resize and crop the image

TCVN_PM_LETTERBOX

Resize the image to the desired size while preserving the aspect ratio of the original image