Aspose::Cells::ICellArea Class Referenceabstract

Represent an area of cells. More...

Inherits IComparable.

Public Member Functions

virtual Aspose::Cells::Systems::Int32 GetstartRow ()=0
 Gets the start row of this area. More...
 
virtual void SetstartRow (Aspose::Cells::Systems::Int32 value)=0
 Set the start row of this area. More...
 
virtual Aspose::Cells::Systems::Int32 GetendRow ()=0
 Gets the end row of this area. More...
 
virtual void SetendRow (Aspose::Cells::Systems::Int32 value)=0
 Set the end row of this area. More...
 
virtual Aspose::Cells::Systems::Int32 GetstartColumn ()=0
 Gets the start column of this area. More...
 
virtual void SetstartColumn (Aspose::Cells::Systems::Int32 value)=0
 Set the start column of this area. More...
 
virtual Aspose::Cells::Systems::Int32 GetendColumn ()=0
 Gets the end column of this area. More...
 
virtual void SetendColumn (Aspose::Cells::Systems::Int32 value)=0
 Set the end column of this area. More...
 
virtual Aspose::Cells::Systems::Int32 CompareTo (intrusive_ptr< Aspose::Cells::Systems::Object > obj)=0
 Internal use only. More...
 
virtual intrusive_ptr< Aspose::Cells::Systems::String > ToString ()=0
 Returns a string represents the current Worksheet object. More...
 
virtual void add_ref ()
 
virtual int release_ref ()
 

Static Public Member Functions

static intrusive_ptr< Aspose::Cells::ICellAreaCreateICellArea (Aspose::Cells::Systems::Int32 startRow, Aspose::Cells::Systems::Int32 startColumn, Aspose::Cells::Systems::Int32 endRow, Aspose::Cells::Systems::Int32 endColumn)
 Create a cell area. More...
 
static intrusive_ptr< Aspose::Cells::ICellAreaCreateICellArea (intrusive_ptr< Aspose::Cells::Systems::String > startCellName, intrusive_ptr< Aspose::Cells::Systems::String > endCellName)
 Create a cell area. More...
 

Detailed Description

Represent an area of cells.

[C++]
//Create Cell Area
intrusive_ptr<ICellArea> ca = Factory::CreateICellArea();
ca->SetstartRow(0);
ca->SetendColumn(0);
ca->SetendRow(0);
ca->SetendColumn(0);

Member Function Documentation

◆ add_ref()

virtual void Aspose::Cells::ICellArea::add_ref ( )
inlinevirtual

◆ CompareTo()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellArea::CompareTo ( intrusive_ptr< Aspose::Cells::Systems::Object >  obj)
pure virtual

Internal use only.

Parameters
obj
Returns

◆ CreateICellArea() [1/2]

static intrusive_ptr<Aspose::Cells::ICellArea> Aspose::Cells::ICellArea::CreateICellArea ( Aspose::Cells::Systems::Int32  startRow,
Aspose::Cells::Systems::Int32  startColumn,
Aspose::Cells::Systems::Int32  endRow,
Aspose::Cells::Systems::Int32  endColumn 
)
static

Create a cell area.

Parameters
startRowThe start row.
startColumnThe start column.
endRowThe end row.
endColumnThe end column.
Returns
Return an ICellArea

◆ CreateICellArea() [2/2]

static intrusive_ptr<Aspose::Cells::ICellArea> Aspose::Cells::ICellArea::CreateICellArea ( intrusive_ptr< Aspose::Cells::Systems::String >  startCellName,
intrusive_ptr< Aspose::Cells::Systems::String >  endCellName 
)
static

Create a cell area.

Parameters
startCellNameThe top-left cell of the range.
endCellNameThe bottom-right cell of the range.
Returns
Return an ICellArea

◆ GetendColumn()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellArea::GetendColumn ( )
pure virtual

Gets the end column of this area.

◆ GetendRow()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellArea::GetendRow ( )
pure virtual

Gets the end row of this area.

◆ GetstartColumn()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellArea::GetstartColumn ( )
pure virtual

Gets the start column of this area.

◆ GetstartRow()

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::ICellArea::GetstartRow ( )
pure virtual

Gets the start row of this area.

◆ release_ref()

virtual int Aspose::Cells::ICellArea::release_ref ( )
inlinevirtual

◆ SetendColumn()

virtual void Aspose::Cells::ICellArea::SetendColumn ( Aspose::Cells::Systems::Int32  value)
pure virtual

Set the end column of this area.

◆ SetendRow()

virtual void Aspose::Cells::ICellArea::SetendRow ( Aspose::Cells::Systems::Int32  value)
pure virtual

Set the end row of this area.

◆ SetstartColumn()

virtual void Aspose::Cells::ICellArea::SetstartColumn ( Aspose::Cells::Systems::Int32  value)
pure virtual

Set the start column of this area.

◆ SetstartRow()

virtual void Aspose::Cells::ICellArea::SetstartRow ( Aspose::Cells::Systems::Int32  value)
pure virtual

Set the start row of this area.

◆ ToString()

virtual intrusive_ptr<Aspose::Cells::Systems::String> Aspose::Cells::ICellArea::ToString ( )
pure virtual

Returns a string represents the current Worksheet object.

Returns