Picture

Overview

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

Represents an embedded image in a worksheet.

This class provides 14 methods for working with Picture objects in Java programs. Available methods include: getContentType, getData, getImageType, getLowerRightColumn, getLowerRightRow, getName, getUpperLeftColumn, getUpperLeftRow, setData, setLowerRightColumn, setLowerRightRow, setName, and 2 additional methods. All exported 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.

Description

Picture is a class in the Aspose.Cells FOSS library for Java that exposes 14 methods and 8 properties for programmatic use.

Core capabilities include: string; imagetype; byte[]. These operations enable developers to integrate picture functionality directly into Java applications.

The class also provides the name property (gets the name), the upperLeftRow property (gets the upper left row), the upperLeftColumn property (gets the upper left column).

Properties

NameTypeAccessDescription
nameStringReadGets the name.
upperLeftRowintReadGets the upper left row.
upperLeftColumnintReadGets the upper left column.
lowerRightRowintReadGets the lower right row.
lowerRightColumnintReadGets the lower right column.
imageTypeImageTypeReadImage type detected from the binary data signature.
databyte[]ReadGets 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