XImageCollection.Add

Add(XImage)

Adds new image to Image list. This method adds image as reference to the same PdfObject (which allows to decrease file size)

public string Add(XImage image)
ParameterTypeDescription
imageXImageXImage to be added.

Return Value

Name of the added image.

See Also


Add(Stream)

Adds entity to the end of the collection, so entity can be accessed by the last index.

public string Add(Stream image)
ParameterTypeDescription
imageStreamStream containing image data (in JPEG format).

Return Value

Name of the added image.

See Also


Add(Stream, ImageFilterType)

Adds entity to the end of the collection, so entity can be accessed by the last index.

public string Add(Stream image, ImageFilterType filterType)
ParameterTypeDescription
imageStreamStream containing image data.
filterTypeImageFilterTypeThe image filter type.

Return Value

Name of the added image.

See Also


Add(Stream, int)

Adds entity to the end of the collection, so entity can be accessed by the last index.

public void Add(Stream image, int quality)
ParameterTypeDescription
imageStreamStream containing image data (in JPEG format).
qualityInt32JPEG quality.

See Also