PictureFormPrBase

type PictureFormPrBase = object

Description

Specific picture form properties.

Properties

scaleFlagScaleFlagdefault: null

The condition to scale an image in the picture form: "always", "never", "tooBig" or "tooSmall".

lockAspectRatiobooleandefault: null

Specifies if the aspect ratio of the picture form is locked or not.

respectBordersbooleandefault: null

Specifies if the form border width is respected or not when scaling the image.

shiftXpercentagedefault: null

Horizontal picture position inside the picture form measured in percent: 0 - the picture is placed on the left; 50 - the picture is placed in the center; 100 - the picture is placed on the right.

shiftYpercentagedefault: null

Vertical picture position inside the picture form measured in percent: 0 - the picture is placed on top; 50 - the picture is placed in the center; 100 - the picture is placed on the bottom.

Try It

var oComboBoxFormPrBase = {"editable": false, "autoFit": false, "items": ["Latvia", "USA", "UK"]};
var oComboBoxForm = Api.CreateComboBoxForm(oComboBoxFormPrBase);

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).