PictureCollection

PictureCollection class

Encapsulates a collection of Picture objects.

Properties

NameTypeDescription
CountNumber
Item (int)PictureGets the Picture element at the specified index.

Methods

NameDescription
camera
addAdds a picture to the collection.
clearClear all pictures.
removeAtRemove shapes at the specific index
iterator
getReserved for internal use.
containsReserved for internal use.
indexOfReserved for internal use.

PictureCollection.Count property

Type: Number

PictureCollection.Item (int) property

Gets the Picture element at the specified index.

Type: Picture

camera(row, column, range)

add(topRow, leftColumn, bottomRow, rightColumn, fileName) (1 of 3)

Adds a picture to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
lowerRightRowLower right row index
lowerRightColumnLower right column index
fileNameStringImage filename.

Returns: Picture object index.


add(topRow, leftColumn, fileName) (2 of 3)

Adds a picture to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
fileNameStringImage filename.

Returns: Picture object index.


add(topRow, leftColumn, fileName, widthScale, heightScale) (3 of 3)

Adds a picture to the collection.

ParameterTypeDescription
upperLeftRowUpper left row index.
upperLeftColumnUpper left column index.
fileNameStringImage filename.
widthScaleNumberScale of image width, a percentage.
heightScaleNumberScale of image height, a percentage.

Returns: Picture object index.

clear()

Clear all pictures.

removeAt(index)

Remove shapes at the specific index

iterator()

get(index)

Reserved for internal use.

contains(value)

Reserved for internal use.

indexOf(value)

Reserved for internal use.