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)
Parameter Type Description
image XImage XImage 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)
Parameter Type Description
image Stream Stream 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 void Add(Stream image, ImageFilterType filterType)
Parameter Type Description
image Stream Stream containing image data.
filterType ImageFilterType The image filter type.

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)
Parameter Type Description
image Stream Stream containing image data (in JPEG format).
quality Int32 JPEG quality.

See Also