dim.flextable: Get widths and heights of flextable

View source: R/flextable_sizes.R

dim.flextableR Documentation

Get widths and heights of flextable

Description

returns widths and heights for each table columns and rows. Values are expressed in inches.

Usage

## S3 method for class 'flextable'
dim(x)

Arguments

x

flextable object

See Also

Other functions for flextable size management: autofit(), dim_pretty(), fit_to_width(), flextable_dim(), height(), hrule(), ncol_keys(), nrow_part(), width()

Examples

ftab <- flextable(head(iris))
dim(ftab)

flextable documentation built on Aug. 24, 2025, 5:07 p.m.