Skip to content

@sheetkit/node / JsRenderOptions

Interface: JsRenderOptions ​

Defined in: binding.d.ts:908

Options for rendering a worksheet to SVG.

Properties ​

defaultFontFamily? ​

optional defaultFontFamily: string

Defined in: binding.d.ts:920

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


defaultFontSize? ​

optional defaultFontSize: number

Defined in: binding.d.ts:922

Default font size in points. Defaults to 11.0.


range? ​

optional range: string

Defined in: binding.d.ts:912

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


scale? ​

optional scale: number

Defined in: binding.d.ts:918

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


sheetName ​

sheetName: string

Defined in: binding.d.ts:910

Name of the sheet to render.


showGridlines? ​

optional showGridlines: boolean

Defined in: binding.d.ts:914

Whether to draw gridlines between cells. Defaults to true.


showHeaders? ​

optional showHeaders: boolean

Defined in: binding.d.ts:916

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

Released under the MIT / Apache-2.0 License.