Interface Document.Page.ImageOrBuilder (2.16.0)

public static interface Document.Page.ImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getContent()

public abstract ByteString getContent()

Raw byte content of the image.

bytes content = 1;

Returns
TypeDescription
ByteString

The content.

getHeight()

public abstract int getHeight()

Height of the image in pixels.

int32 height = 4;

Returns
TypeDescription
int

The height.

getMimeType()

public abstract String getMimeType()

Encoding mime type for the image.

string mime_type = 2;

Returns
TypeDescription
String

The mimeType.

getMimeTypeBytes()

public abstract ByteString getMimeTypeBytes()

Encoding mime type for the image.

string mime_type = 2;

Returns
TypeDescription
ByteString

The bytes for mimeType.

getWidth()

public abstract int getWidth()

Width of the image in pixels.

int32 width = 3;

Returns
TypeDescription
int

The width.