Header menu logo FsSpreadsheet

Area Module

The areas marks the area in which the table lies.

Functions and values

Function or value Description

extendLeft amount area

Full Usage: extendLeft amount area

Parameters:
Returns: StringValue

Extends the left boundary of the area by the given amount (positive amount decreases the area to left and vice versa).

amount : int
area : StringValue
Returns: StringValue

extendRight amount area

Full Usage: extendRight amount area

Parameters:
Returns: StringValue

Extends the right boundary of the area by the given amount (positive amount increases area to right and vice versa).

amount : int
area : StringValue
Returns: StringValue

isCorrect area

Full Usage: isCorrect area

Parameters:
Returns: bool

Returns true if the A1:A1-style area is of correct format.

area : StringValue
Returns: bool

leftBoundary area

Full Usage: leftBoundary area

Parameters:
Returns: uint32

Gets the left boundary of the area.

area : StringValue
Returns: uint32

lowerBoundary area

Full Usage: lowerBoundary area

Parameters:
Returns: uint32

Gets the lower boundary of the area.

area : StringValue
Returns: uint32

moveHorizontal amount area

Full Usage: moveHorizontal amount area

Parameters:
Returns: StringValue

Moves both start and end of the area by the given amount (positive amount moves area to right and vice versa).

amount : int
area : StringValue
Returns: StringValue

moveVertical amount area

Full Usage: moveVertical amount area

Parameters:
Returns: StringValue

Moves both start and end of the area by the given amount (positive amount moves area to right and vice versa).

amount : int
area : StringValue
Returns: StringValue

ofBoundaries fromCellReference toCellReference

Full Usage: ofBoundaries fromCellReference toCellReference

Parameters:
    fromCellReference : string
    toCellReference : string

Returns: StringValue

Given A1-based top left start and bottom right end indices, returns a "A1:A1"-style area-

fromCellReference : string
toCellReference : string
Returns: StringValue

referenceExceedsArea reference area

Full Usage: referenceExceedsArea reference area

Parameters:
Returns: bool

Returns true if the reference does not lie in the boundary of the area.

reference : string
area : StringValue
Returns: bool

referenceExceedsAreaAbove reference area

Full Usage: referenceExceedsAreaAbove reference area

Parameters:
Returns: bool

Returns true if the column index of the reference exceeds the upper boundary of the area.

reference : string
area : StringValue
Returns: bool

referenceExceedsAreaBelow reference area

Full Usage: referenceExceedsAreaBelow reference area

Parameters:
Returns: bool

Returns true if the column index of the reference exceeds the lower boundary of the area.

reference : string
area : StringValue
Returns: bool

referenceExceedsAreaLeft reference area

Full Usage: referenceExceedsAreaLeft reference area

Parameters:
Returns: bool

Returns true if the column index of the reference exceeds the left boundary of the area.

reference : string
area : StringValue
Returns: bool

referenceExceedsAreaRight reference area

Full Usage: referenceExceedsAreaRight reference area

Parameters:
Returns: bool

Returns true if the column index of the reference exceeds the right boundary of the area.

reference : string
area : StringValue
Returns: bool

rightBoundary area

Full Usage: rightBoundary area

Parameters:
Returns: uint32

Gets the right boundary of the area.

area : StringValue
Returns: uint32

toBoundaries area

Full Usage: toBoundaries area

Parameters:
Returns: string * string

Given a "A1:A1"-style area, returns A1-based cell start and end cellReferences.

area : StringValue
Returns: string * string

upperBoundary area

Full Usage: upperBoundary area

Parameters:
Returns: uint32

Gets the Upper boundary of the area.

area : StringValue
Returns: uint32

Type something to start searching.