跳到主要内容

PictureFormPr

Picture form properties.

Type

Enumeration

Values

Example

This example creates a picture form with the common and specific picture form properties.

let pictureFormPr = {"key": "Personal information", "tip": "Upload your photo", "required": true, "placeholder": "Photo", "scaleFlag": "tooBig", "lockAspectRatio": true, "respectBorders": false, "shiftX": 50, "shiftY": 50};
let pictureForm = Api.CreatePictureForm(pictureFormPr);