Skip to main content

UriOfficeImage Class

An image loaded from a specified URI.

Declaration

public class UriOfficeImage extends OfficeImageBase

Inherited Members

com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)

Inheritance

Object
JavaObject
OfficeImageBase
UriOfficeImage

Constructors

UriOfficeImage(String uri, @Nullable Integer width, @Nullable Integer height) Constructor

Initializes a new instance of the UriOfficeImage class with specified settings.

Declaration

public UriOfficeImage(String uri, @Nullable Integer width, @Nullable Integer height)

Parameters

Name Type Description
uri String

The URI of the image.

width

The image width in pixels, or null to use the default width.

height

The image height in pixels, or null to use the default height.

UriOfficeImage(String uri, @Nullable Integer width) Constructor

Initializes a new instance of the UriOfficeImage class with specified settings.

Declaration

public UriOfficeImage(String uri, @Nullable Integer width)

Parameters

Name Type Description
uri String

The URI of the image.

width

The image width in pixels, or null to use the default width.

UriOfficeImage(String uri) Constructor

Initializes a new instance of the UriOfficeImage class with specified settings.

Declaration

public UriOfficeImage(String uri)

Parameters

Name Type Description
uri String

The URI of the image.

Methods

getHeight() Method

Returns the image height.

Declaration

public @Nullable Integer getHeight()

Returns

Type Description

The image height in pixels, or null if the height is not specified.

getUri() Method

Returns the image URI.

Declaration

public String getUri()

Returns

Type Description
String

Image URI.

getWidth() Method

Returns the image width.

Declaration

public @Nullable Integer getWidth()

Returns

Type Description

The image width in pixels, or null if the width is not specified.