@univerjsengine-renderfunctionsGetdocsskeletonpagesize

@univerjs/engine-render v0.5.4


Function: getDocsSkeletonPageSize()

function getDocsSkeletonPageSize(documentSkeleton, angleInDegree): Nullable<Required<ISize>>

Defined in: packages/api/tmp/univer-pro/submodules/univer/packages/engine-render/src/components/sheets/sheet-skeleton.ts:96

Obtain the height and width of a cell’s text, taking into account scenarios with rotated text.

Parameters

ParameterTypeDefault valueDescription
documentSkeletonDocumentSkeletonundefinedData of the document’s ViewModel
angleInDegreenumber0The rotation angle of an Excel cell, it’s degree

Returns

Nullable<Required<ISize>>