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) |
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.
|
int |
getWidthForMaxHeight()
Specify Width for Max Height
|
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 |
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 PageDescription addPage(int pageWidth, int pageHeight, int pageIndex)
Copyright © 2017. All rights reserved.