Aspose::Cells::UnionRange class

UnionRange class

Represents union range.

class UnionRange

Methods

MethodDescription
ApplyStyle(const Style& style, const StyleFlag& flag)Applies formats for a whole range.
Copy(const UnionRange& range, const PasteOptions& options)Copying the range with paste special options.
GetCellCount()Gets all cell count in the range.
GetColumnCount()Gets the count of rows in the range.
GetEnumerator()Gets the enumerator for cells in this Range.
GetFirstColumn()Gets the index of the first column of the range.
GetFirstRow()Gets the index of the first row of the range.
GetHasRange()Indicates whether this has range.
GetHyperlinks()Gets all hyperlink in the range.
GetName()Gets or sets the name of the range.
GetRangeCount()Gets the count of the ranges.
GetRanges()Gets all union ranges.
GetRefersTo()Gets the range’s refers to.
GetRowCount()Gets the count of rows in the range.
GetValue()Gets and sets the values of the range.
Intersect(const U16String& range)Intersects another range.
Intersect(const char16_t* range)Intersects another range.
Intersect(const UnionRange& unionRange)Intersects another range.
Intersect(const Vector <Range>& ranges)Intersects another range.
IsNull() constChecks whether the implementation object is nullptr.
Merge()Combines a range of cells into a single cell.
explicit operator bool() constoperator bool()
operator=(const UnionRange& src)operator=
PutValue(const U16String& stringValue, bool isConverted, bool setStyle)Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.
PutValue(const char16_t* stringValue, bool isConverted, bool setStyle)Puts a value into the range, if appropriate the value will be converted to other data type and cell’s number format will be reset.
SetName(const U16String& value)Gets or sets the name of the range.
SetName(const char16_t* value)Gets or sets the name of the range.
SetOutlineBorders(const Vector <CellBorderType>& borderStyles, const Vector <Aspose::Cells::Color>& borderColors)Sets out line borders around a range of cells.
SetOutlineBorders(CellBorderType borderStyle, const Aspose::Cells::Color& borderColor)Sets the outline borders around a range of cells with same border style and color.
SetStyle(const Style& style)Sets the style of the range.
SetValue(const Aspose::Cells::Object& value)Gets and sets the values of the range.
Union(const U16String& range)Union another range.
Union(const char16_t* range)Union another range.
Union(const UnionRange& unionRange)Union another range.
Union(const Vector <Range>& ranges)Union the ranges.
UnionRange(UnionRange_Impl* impl)Constructs from an implementation object.
UnionRange(const UnionRange& src)Copy constructor.
UnMerge()Unmerges merged cells of this range.
~UnionRange()Destructor.

Fields

FieldDescription
_implThe implementation object.

See Also