@univerjssheets-uiindexfunctionsGetautofillrepeatrange

@univerjs/sheets-ui v0.5.0-beta.1Docs


Function: getAutoFillRepeatRange()

function getAutoFillRepeatRange(sourceRange, targetRange): {
  relativeRange: IRange;
  repeatStartCell: {
     col: number;
     row: number;
    };
 }[]

Parameters

ParameterType
sourceRangeIRange
targetRangeIRange

Returns

{ relativeRange: IRange; repeatStartCell: { col: number; row: number; }; }[]

Defined in

submodules/univer/packages/sheets-ui/src/services/auto-fill/tools.ts:640