VegaRise.NET
Back to ElementsContainer

AddImageMethod

Definition

Namespace
DOM.Elements
Assembly
DOM.dll

Overloads

AddImage(IImage image)

Adds an existing instance to this container. IImage

AddImage(Stream imageStream)

Creates an from a stream and adds it to this container. Image

AddImage(string imagePath)

Creates an from a file path and adds it to this container. Image

AddImage(IImage image)

AddImage(IImage image)

Adds an existing instance to this container. IImage

Parameters

image
The image instance to add.

Returns

The same instance that was added. image

AddImage(Stream imageStream)

IImage AddImage(Stream imageStream)

Creates an from a stream and adds it to this container. Image

Parameters

imageStream
Stream containing image data. The caller is responsible for keeping the stream valid while the image is being read.

Returns

IImage

The created instance that was added to the container. IImage

AddImage(string imagePath)

IImage AddImage(string imagePath)

Creates an from a file path and adds it to this container. Image

Parameters

imagePath
Path to the image file to load.

Returns

IImage

The created instance that was added to the container. IImage

VegaRise.NET

Sign In

Welcome back. Please sign in to your account.

Forgot password?
or

Don't have an account? Create an account

By signing in, you agree to our Terms of Service and Privacy Policy.