[]
        
(Showing Draft Content)

GC.Spread.Sheets.Comments.Padding

Class: Padding

Sheets.Comments.Padding

Table of contents

Constructors

Constructors

constructor

new Padding(top?, right?, bottom?, left?)

Represents the padding information.

example

var comment = activeSheet.comments.add(2, 2, 'this is a comment');
comment.displayMode(GC.Spread.Sheets.Comments.DisplayMode.alwaysShown)
console.log(comment.padding()); // undefined
comment.padding(new GC.Spread.Sheets.Comments.Padding(10, 20, 30, 40));
console.log(comment.padding()); // Padding {top: 10, right: 20, bottom: 30, left: 40}

Parameters

Name Type Description
top? number The top padding.
right? number The right padding.
bottom? number The bottom padding.
left? number The left padding.