Picture

Overview

Picture is a class in Aspose.Cells FOSS for Java.

Represents an embedded image in a worksheet.

This class declares 14 methods for Picture objects in Java programs. Available methods include: getContentType, getData, getImageType, getLowerRightColumn, getLowerRightRow, getName, getUpperLeftColumn, getUpperLeftRow, setData, setLowerRightColumn, setLowerRightRow, setName, and 2 additional methods. Public members are accessible to any Java application after installing the Aspose.Cells FOSS for Java package. Properties: contentType, data, imageType, lowerRightColumn, lowerRightRow, name, and 2 more.

Properties

NameTypeAccessDescription
nameStringRead/WriteGets or sets the name.
upperLeftRowintRead/WriteGets or sets the upper left row.
upperLeftColumnintRead/WriteGets or sets the upper left column.
lowerRightRowintRead/WriteGets or sets the lower right row.
lowerRightColumnintRead/WriteGets or sets the lower right column.
imageTypeImageTypeReadImage type detected from the binary data signature.
databyte[]Read/WriteGets or sets the data.
contentTypeStringReadMIME content type derived from image data.

Methods

SignatureDescription
getName() → StringReturns the name.
setName(name: String)Sets the name value.
getUpperLeftRow() → intReturns the upper left row.
setUpperLeftRow(row: int)Sets the upper left row value.
getUpperLeftColumn() → intReturns the upper left column.
setUpperLeftColumn(col: int)Sets the upper left column value.
getLowerRightRow() → intReturns the lower right row.
setLowerRightRow(row: int)Sets the lower right row value.
getLowerRightColumn() → intReturns the lower right column.
setLowerRightColumn(col: int)Sets the lower right column value.
getImageType() → ImageTypeImage type detected from the binary data signature.
getData() → byte[]Returns the data.
setData(data: byte[])Sets the data value.
getContentType() → StringMIME content type derived from image data.

See Also

 English