public class DocumentDescription extends Object
Define Document Description properties
Constructor and Description |
---|
DocumentDescription()
Initializes a new instance of the
DocumentDescription class. |
DocumentDescription(String guid)
Initializes a new instance of the
DocumentDescription class. |
DocumentDescription(String guid,
int pageCount) |
DocumentDescription(String guid,
String password)
Initializes a new instance of the
DocumentDescription class. |
Modifier and Type | Method and Description |
---|---|
PageDescription |
addPage(int pageWidth,
int pageHeight,
int pageIndex) |
Date |
getDateCreated()
Creation date of Document
|
Date |
getDateModified()
Last modified date of Document
|
String |
getExtension()
Extension of Document file
|
String |
getFileFormat()
File format
|
String |
getGuid()
Gets or sets the unique identifier.
|
int |
getMaxPageHeight()
Specify Max Page Height
|
int |
getPageCount()
Count of Pages in Document
|
List<PageDescription> |
getPages() |
com.aspose.ms.System.Collections.Generic.IGenericList<PageDescription> |
getPagesInternal() |
String |
getPassword()
The password.
|
long |
getSize()
Size in bytes of document
|
int |
getWidthForMaxHeight()
Specify Width for Max Height
|
void |
setDateCreated(Date value)
Creation date of Document
|
void |
setDateCreatedInternal(com.aspose.ms.System.DateTime value) |
void |
setDateModified(Date value)
Last modified date of Document
|
void |
setDateModifiedInternal(com.aspose.ms.System.DateTime value) |
void |
setExtension(String value)
Extension of Document file
|
void |
setFileFormat(String value)
File format
|
void |
setGuid(String value)
Gets or sets the unique identifier.
|
void |
setMaxPageHeight(int value)
Specify Max Page Height
|
void |
setPageCount(int value)
Count of Pages in Document
|
void |
setPages(ArrayList<PageDescription> value) |
void |
setPagesInternal(com.aspose.ms.System.Collections.Generic.IGenericList<PageDescription> value) |
void |
setPassword(String value)
The password.
|
void |
setSize(long value)
Size in bytes of document
|
void |
setWidthForMaxHeight(int value)
Specify Width for Max Height
|
public DocumentDescription()
Initializes a new instance of the DocumentDescription
class.
public DocumentDescription(String guid)
Initializes a new instance of the DocumentDescription
class.
guid
- The unique identifier.public DocumentDescription(String guid, String password)
Initializes a new instance of the DocumentDescription
class.
guid
- The unique identifier.password
- The password.public DocumentDescription(String guid, int pageCount)
public String getGuid()
Gets or sets the unique identifier.
Value: The unique identifier.public void setGuid(String value)
Gets or sets the unique identifier.
Value: The unique identifier.public String getPassword()
The password.
public void setPassword(String value)
The password.
public List<PageDescription> getPages()
public com.aspose.ms.System.Collections.Generic.IGenericList<PageDescription> getPagesInternal()
public void setPages(ArrayList<PageDescription> value)
public void setPagesInternal(com.aspose.ms.System.Collections.Generic.IGenericList<PageDescription> value)
public int getPageCount()
Count of Pages in Document
public void setPageCount(int value)
Count of Pages in Document
public int getWidthForMaxHeight()
Specify Width for Max Height
public void setWidthForMaxHeight(int value)
Specify Width for Max Height
public int getMaxPageHeight()
Specify Max Page Height
public void setMaxPageHeight(int value)
Specify Max Page Height
public String getFileFormat()
File format
public void setFileFormat(String value)
File format
public String getExtension()
Extension of Document file
public void setExtension(String value)
Extension of Document file
public Date getDateCreated()
Creation date of Document
public void setDateCreated(Date value)
Creation date of Document
public void setDateCreatedInternal(com.aspose.ms.System.DateTime value)
public Date getDateModified()
Last modified date of Document
public void setDateModified(Date value)
Last modified date of Document
public void setDateModifiedInternal(com.aspose.ms.System.DateTime value)
public long getSize()
Size in bytes of document
public void setSize(long value)
Size in bytes of document
public PageDescription addPage(int pageWidth, int pageHeight, int pageIndex)
Copyright © 2017. All rights reserved.