workbook.PositionPercent

Object Description

A position that is defined using a percentage of x and y dimensions.

Use workbook.createPositionPercent(options) to create this object.

A position percent object is used as a parameter in the workbook.createStyle(options) method.

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/workbook Module

Methods and Properties

PositionPercent Object Members

Since

2021.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples. Also see Full scripts in the Tutorial: Creating a Workbook Using the Workbook API topic.

            // Add additional code
...
// myPositionPercent is a workbook.PositionPercent object

var myPositionPercent = workbook.createPositionPercent({
    percentX: 25,
    percentY: 47
});
...
// Add additional code 

          

Related Topics

General Notices