Back to Website
Show / Hide Table of Contents

Interface ILocationDefaultConfig

A structure defining the default location of design elements. For example, you can add a custom button to the Toolbox as follows:

Package: IframeApi

Properties

originX

The origin point for the x coordinate relative to a rectangle bounding this design element. Possible values are "Left", "Right", and "Center".

Declaration
originX?: OriginPointType
Property Value
Type Description
OriginPointType

originY

the origin point for the y coordinate relative to a rectangle bounding this design element. Possible values are "Top", "Bottom", and "Center".

Declaration
originY?: OriginPointType
Property Value
Type Description
OriginPointType

x

The x coordinate, in either points or percent of available width. The default value is 0, which is equivalent to the left edge.

Declaration
x?: string | number
Property Value
Type Description
string | number

y

The y coordinate, in either points or percent of available height. The default value is 0, which is equivalent to the bottom edge.

Declaration
y?: string | number
Property Value
Type Description
string | number
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...