ETcVnPaddingMode
Offers padding modes.
Syntax
Definition:
enum ETcVnPaddingMode : LONG
{
PM_NONE = 0,
PM_CROP_CENTER = 1,
PM_LETTERBOX = 2
};
Values
Name |
Description |
---|---|
PM_NONE |
Resize the image to the desired size without extra processing |
PM_CROP_CENTER |
Resize and crop the image |
PM_LETTERBOX |
Resize the image to the desired size while preserving the aspect ratio of the original image |