1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/wrappers.R
\name{removeRowHeights}
\alias{removeRowHeights}
\title{Remove custom row heights from a worksheet}
\usage{
removeRowHeights(wb, sheet, rows)
}
\arguments{
\item{wb}{A workbook object}
\item{sheet}{A name or index of a worksheet}
\item{rows}{Indices of rows to remove custom height (if any) from.}
}
\description{
Remove row heights from a worksheet
}
\examples{
## Create a new workbook
wb <- loadWorkbook(file = system.file("extdata", "loadExample.xlsx", package = "openxlsx"))
## remove any custom row heights in rows 1 to 10
removeRowHeights(wb, 1, rows = 1:10)
\dontrun{
saveWorkbook(wb, "removeRowHeightsExample.xlsx", overwrite = TRUE)
}
}
\seealso{
\code{\link[=setRowHeights]{setRowHeights()}}
}
\author{
Alexander Walker
}
|