@univerjs/engine-render v0.4.2 • 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 |