@univerjs/engine-render v0.5.0-beta.1 • Docs
Function: getDocsSkeletonPageSize()
function getDocsSkeletonPageSize(documentSkeleton, angleInDegree): Nullable<Required<ISize>>
Obtain the height and width of a cell’s text, taking into account scenarios with rotated text.
Parameters
Parameter | Type | Default value | Description |
---|---|---|---|
documentSkeleton | DocumentSkeleton | undefined | Data of the document’s ViewModel |
angleInDegree | number | 0 | The rotation angle of an Excel cell, it’s degree |
Returns
Defined in
packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-skeleton.ts:95