A structure defining the default parameters of gallery tabs.
Allows adding images to the canvas as placeholders. The default value is false
.
Defines a subfolder of \assets\images\
from which the user can select images for placeholders. When you specify this property, the gallery shows images only from the corresponding public subfolder. By default, your users can select images from any gallery tab or public subfolder.
Defines an array of gallery tab names from which the user can select images for placeholders. For example, to open only the Public files and My files tabs for image placeholders, set allowedTabs to ["Public files", "My files"]
. By default, your users can select images from any gallery tab.
An angle, which design elements are rotated to. By default, this value is 0
.
Defines the barcode content type.
Defines the barcode format.
A blend mode that applies to design elements being added to the canvas.
The border color. The default value is "rgba(0,0,0,1)"
.
The border width, in points. The default value is 1
.
Defines the barcode color. The default value is "rgb(0, 0, 0)"
.
Defines a link to an image used as the placeholder's content. You can define URLs, links to private images ("user:someprivateimage.png"
), and images from the public gallery ("public:logos/logo.png"
).
Defines permissions for the content of placeholders.
Defines the resize mode for image placeholders. It can be either fill
, fit
, or original
. For details, refer to the Image Placeholders topic. The default value is fill
.
The fill color. The default value is "rgba(0, 0, 0, 0)"
.
Maintains the size of stub images while resizing image placeholders. The default value is false
.
The height of design elements being added to the canvas, in points or percent. For QR codes, the width value is used for both width and height.
Defines permissions for images being added to the canvas.
A link to the default image.
Enables the cover mode for image placeholders. The default value is true
.
Defines whether this is a stub placeholder. The default value is false
.
Marks a design element as a variable item. The default value is false
.
A structure defining the Item Menu and the Floating item toolbar for design elements.
The coordinates of design elements being added to the canvas. By default, you can add them to the center of your product.
A structure defining the manipulation permissions for design elements.
The mask opacity of an item. The default value is 0.45
.
The name of design elements being added to the canvas.
An opacity that applies to design elements. This value can be from 0
to 1
. By default, it is 1
.
Defines an overlay color for images being added to the canvas.
Defines permissions for placeholders.
Defines permissions for shapes.
A wrapping mode that applies to wrap text around design elements. By default, it is "none"
.
A style or a color that applies to new design elements.
A structure defining the visualization permissions for design elements.
The width of design elements being added to the canvas, in points or percent.