[]
• 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}
Name | Type | Description |
---|---|---|
top? |
number |
The top padding. |
right? |
number |
The right padding. |
bottom? |
number |
The bottom padding. |
left? |
number |
The left padding. |