GridPictureCollection.Add

Add(int, int, int, int, Stream)

Adds a picture to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, 
    Stream stream)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
lowerRightRowInt32Lower right row index
lowerRightColumnInt32Lower right column index
streamStreamStream object which contains the image data.

Return Value

Picture object index.

See Also


Add(int, int, int, int, string)

Adds a picture to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, int lowerRightRow, int lowerRightColumn, 
    string fileName)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
lowerRightRowInt32Lower right row index
lowerRightColumnInt32Lower right column index
fileNameStringImage filename.

Return Value

Picture object index.

See Also


Add(int, int, Stream)

Adds a picture to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, Stream stream)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
streamStreamStream object which contains the image data.

Return Value

Picture object index.

See Also


Add(int, int, string)

Adds a picture to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, string fileName)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
fileNameStringImage filename.

Return Value

GridPicture object index.

See Also


Add(int, int, string, int, int)

Adds a picture to the collection.

public int Add(int upperLeftRow, int upperLeftColumn, string fileName, int widthScale, 
    int heightScale)
ParameterTypeDescription
upperLeftRowInt32Upper left row index.
upperLeftColumnInt32Upper left column index.
fileNameStringImage filename.
widthScaleInt32Scale of image width, a percentage.
heightScaleInt32Scale of image height, a percentage.

Return Value

GridPicture object index.

See Also


Add(string, string)

Adds a Picture to a specified cell by cell name.

public void Add(string cellName, string fileName)
ParameterTypeDescription
cellNameStringName of grid cell.
fileNameStringFile name of picture.

See Also


Add(int, int, Image)

Adds a Picture to a specified cell at row column index.

public void Add(int row, int col, Image image)
ParameterTypeDescription
rowInt32Row index of cell.
colInt32Column index of cell.
imageImageImage.

See Also