Aspose::Cells::Drawing::IPictureCollection Class Referenceabstract

Encapsulates a collection of IPicture objects. More...

Inherits CollectionBase.

Public Member Functions

virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, Aspose::Cells::Systems::Int32 lowerRightRow, Aspose::Cells::Systems::Int32 lowerRightColumn, intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream)=0
 Adds a picture to the collection. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, Aspose::Cells::Systems::Int32 lowerRightRow, Aspose::Cells::Systems::Int32 lowerRightColumn, intrusive_ptr< Aspose::Cells::Systems::String > fileName)=0
 Adds a picture to the collection. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream)=0
 Adds a picture to the collection. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, intrusive_ptr< Aspose::Cells::Systems::String > fileName)=0
 Adds a picture to the collection. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, intrusive_ptr< Aspose::Cells::Systems::IO::Stream > stream, Aspose::Cells::Systems::Int32 widthScale, Aspose::Cells::Systems::Int32 heightScale)=0
 Adds a picture to the collection. More...
 
virtual Aspose::Cells::Systems::Int32 Add (Aspose::Cells::Systems::Int32 upperLeftRow, Aspose::Cells::Systems::Int32 upperLeftColumn, intrusive_ptr< Aspose::Cells::Systems::String > fileName, Aspose::Cells::Systems::Int32 widthScale, Aspose::Cells::Systems::Int32 heightScale)=0
 Adds a picture to the collection. More...
 
virtual intrusive_ptr< Aspose::Cells::Drawing::IPictureGetObjectByIndex (Aspose::Cells::Systems::Int32 index)=0
 Gets the IPicture element at the specified index. More...
 
virtual void Clear ()=0
 Clear all pictures. More...
 
virtual void RemoveAt (Aspose::Cells::Systems::Int32 index)=0
 Remove shapes at the specific index More...
 

Detailed Description

Encapsulates a collection of IPicture objects.

Member Function Documentation

◆ Add() [1/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
Aspose::Cells::Systems::Int32  lowerRightRow,
Aspose::Cells::Systems::Int32  lowerRightColumn,
intrusive_ptr< Aspose::Cells::Systems::IO::Stream >  stream 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
lowerRightRowLower right row index
lowerRightColumnLower right column index
streamStream object which contains the image data.
Returns
IPicture object index.

◆ Add() [2/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
Aspose::Cells::Systems::Int32  lowerRightRow,
Aspose::Cells::Systems::Int32  lowerRightColumn,
intrusive_ptr< Aspose::Cells::Systems::String >  fileName 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
lowerRightRowLower right row index
lowerRightColumnLower right column index
fileNameImage filename.
Returns
IPicture object index.

◆ Add() [3/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
intrusive_ptr< Aspose::Cells::Systems::IO::Stream >  stream 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
streamStream object which contains the image data.
Returns
IPicture object index.

◆ Add() [4/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
intrusive_ptr< Aspose::Cells::Systems::String >  fileName 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
fileNameImage filename.
Returns
IPicture object index.

◆ Add() [5/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
intrusive_ptr< Aspose::Cells::Systems::IO::Stream >  stream,
Aspose::Cells::Systems::Int32  widthScale,
Aspose::Cells::Systems::Int32  heightScale 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
streamStream object which contains the image data.
widthScaleScale of image width, a percentage.
heightScaleScale of image height, a percentage.
Returns
IPicture object index.

◆ Add() [6/6]

virtual Aspose::Cells::Systems::Int32 Aspose::Cells::Drawing::IPictureCollection::Add ( Aspose::Cells::Systems::Int32  upperLeftRow,
Aspose::Cells::Systems::Int32  upperLeftColumn,
intrusive_ptr< Aspose::Cells::Systems::String >  fileName,
Aspose::Cells::Systems::Int32  widthScale,
Aspose::Cells::Systems::Int32  heightScale 
)
pure virtual

Adds a picture to the collection.

Parameters
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
fileNameImage filename.
widthScaleScale of image width, a percentage.
heightScaleScale of image height, a percentage.
Returns
IPicture object index.

◆ Clear()

virtual void Aspose::Cells::Drawing::IPictureCollection::Clear ( )
pure virtual

Clear all pictures.

◆ GetObjectByIndex()

virtual intrusive_ptr<Aspose::Cells::Drawing::IPicture> Aspose::Cells::Drawing::IPictureCollection::GetObjectByIndex ( Aspose::Cells::Systems::Int32  index)
pure virtual

Gets the IPicture element at the specified index.

Parameters
indexThe zero based index of the element.
Returns
The element at the specified index.

◆ RemoveAt()

virtual void Aspose::Cells::Drawing::IPictureCollection::RemoveAt ( Aspose::Cells::Systems::Int32  index)
pure virtual

Remove shapes at the specific index