Skip to content

@sheetkit/node / JsRenderOptions

Interface: JsRenderOptions

Defined in: binding.d.ts:823

Options for rendering a worksheet to SVG.

Properties

defaultFontFamily?

optional defaultFontFamily: string

Defined in: binding.d.ts:835

Default font family for cell text. Defaults to "Arial".


defaultFontSize?

optional defaultFontSize: number

Defined in: binding.d.ts:837

Default font size in points. Defaults to 11.0.


range?

optional range: string

Defined in: binding.d.ts:827

Optional cell range to render (e.g. "A1:F20"). None renders the used range.


scale?

optional scale: number

Defined in: binding.d.ts:833

Scale factor for the output (1.0 = 100%). Defaults to 1.0.


sheetName

sheetName: string

Defined in: binding.d.ts:825

Name of the sheet to render.


showGridlines?

optional showGridlines: boolean

Defined in: binding.d.ts:829

Whether to draw gridlines between cells. Defaults to true.


showHeaders?

optional showHeaders: boolean

Defined in: binding.d.ts:831

Whether to draw row and column headers. Defaults to true.

Released under the MIT / Apache-2.0 License.