Search
Diagram.setBackgroundImage Method (Image, String)
See Also
 

Allows setting of both BackgroundImage and BackgroundImageUrl attributes as other setters reset the skipped argument.

Namespace: com.mindfusion.diagramming
Package: com.mindfusion.diagramming

 Syntax

Java  Copy Code

public void setBackgroundImage (
    Image img,
    String url
)

 Parameters

img

The java.awt.Image object that should be displayed in the background.

url

A string specifying the image URL.

 Remarks

If the image is not null, then no download is performed. It is assumed that the specified image is located at the specified URL. This setter is preferred when the image is already available and it is desirable that the url is also present.

 See Also