Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
XL.Sheet.SetRow
Sets row height and format.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| XL | 3.5 | Yes | Yes | Yes | Yes | Yes |
MBS( "XL.Sheet.SetRow"; bookRef; sheetIndex; Row; Height { ; Format; Hidden } ) More
Parameters
| Parameter | Description | Example | Flags |
|---|---|---|---|
| bookRef | The reference to the workbook. Please use XL.LoadBook to load a file. | $ref | |
| sheetIndex | The index of the sheet. This number ranges from 0 to XL.Book.SheetCount-1. | 0 | |
| Row | The row index to set. | 0 | |
| Height | The new row height measured in point size. | 20 | |
| Format | The format for the cell. This is index from 0 to XL.GetFormatCount-1 in the book's list of formats. | 0 | Optional |
| Hidden | Whether to hide columns. | 0 | Optional |
Result
Returns OK or error message.
Description
Sets row height and format.Row may be hidden.
Height is in points. If you want to convert from pixels to points you can use this calculation: points = pixels * 72 / 96. So for a height of 72 pixel, you pass 54 points.
See also
- XL.Book.AddFormat
- XL.Format.SetAlignH
- XL.Format.SetWrap
- XL.LoadBook
- XL.Sheet.CellWriteText
- XL.Sheet.GetZoom
- XL.Sheet.InsertRow
- XL.Sheet.SetCol
- XL.Sheet.SetName
- XL.Sheet.SetZoom
Blog Entries
Created 18th August 2014, last changed 10th July 2016
XL.Sheet.SetRightToLeft - XL.Sheet.SetRowHidden
Feedback: Report problem or ask question.
Links
MBS FileMaker blog