replaceWithImage()

Description

Replaces the data at the specified index of the buffer with the specified DcsImage.

Syntax

func replaceWithImage(image:DcsImage, index:Int)

Parameters

image:DcsImage The image to be added to the buffer.
index:Int The specified index of the image to be added.

Return value

Void

Exceptions

Circumstance Exception thrown
Image is nil. DcsValueNotValidException
Image is not DcsImage. DcsTypeNotValidException
Index is not a positive value smaller than count. DcsValueOutOfRangeException
Is this page helpful?

Leave a Reply

Your email address will not be published.