You’re viewing outdated documentation. View the latest Customer’s Canvas On-Premises documentation.

PlaceholderItem Class

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 6.0.0, 6.x (may differ) · Archived documentation

Represents an image placeholder.

Namespace: Aurigma.DesignAtoms.Model.Items
Assembly: Aurigma.DesignAtoms (in Aurigma.DesignAtoms.dll)

Syntax

C#
public class PlaceholderItem : ShapeItem

Remarks

To implement arbitrary shapes, this class inherits from ShapeItem. By including ContentItem, objects of this class can contain images. You can set the content resize mode to either Fit, when the whole image is shown, or Fill, when an image part is shown so that no empty spaces remain in the placeholder after inserting user images. In both cases, the content is resized proportionally. You can add decorative frames to placeholders. These images can behave as a background or overlap the content. Objects of the PlaceholderItem class contain the background frames in the bottomFrames collection and the overlapping frames in topFrames.

Inheritance Hierarchy

See Also

Reference