public class SpreadsheetDocumentInfo extends Object implements IDocumentInfo
Represents metadata of one Spreadsheet document
| Constructor and Description |
|---|
SpreadsheetDocumentInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(SpreadsheetDocumentInfo other)
Determines whether this instance is equal to the other specified
SpreadsheetDocumentInfo instance
|
SvgImage |
generatePreview(int worksheetIndex)
Generates and returns a preview of the selected worksheet in a form of SVG image
|
SpreadsheetFormats |
getFormat()
Returns a format of this Spreadsheet document
|
int |
getPageCount()
Returns number of tabs
|
long |
getSize()
Returns size in bytes of this Spreadsheet document
|
boolean |
isEncrypted()
Indicates whether this specific Spreadsheet document in encrypted and
requires password for opening
|
public final boolean equals(SpreadsheetDocumentInfo other)
Determines whether this instance is equal to the other specified SpreadsheetDocumentInfo instance
other - Other SpreadsheetDocumentInfo instance, that should be
checked on equality with thispublic final SvgImage generatePreview(int worksheetIndex) throws Exception
Generates and returns a preview of the selected worksheet in a form of SVG image
worksheetIndex - 0-based index of the desired worksheet. Cannot be lesser then 0, cannot exceed the number of worksheets in this spreadsheet.SvgImage classcom.aspose.ms.System.ArgumentOutOfRangeException - Specified worksheetIndex is lesser then 0 or bigger then the number of worksheets in this spreadsheetExceptionpublic final SpreadsheetFormats getFormat()
Returns a format of this Spreadsheet document
getFormat in interface IDocumentInfopublic final int getPageCount()
Returns number of tabs
getPageCount in interface IDocumentInfopublic final long getSize()
Returns size in bytes of this Spreadsheet document
getSize in interface IDocumentInfopublic final boolean isEncrypted()
Indicates whether this specific Spreadsheet document in encrypted and requires password for opening
isEncrypted in interface IDocumentInfoCopyright © 2024. All rights reserved.