public class LoadOptions extends Object
Allows to specify additional options (such as password) when opening a document to sign.
Constructor and Description |
---|
LoadOptions()
Initializes a new instance of LoadOptions class.
|
Modifier and Type | Method and Description |
---|---|
static void |
addConsumption(double consumption) |
com.groupdocs.foundation.domain.FileType |
getInputFileFormat() |
String |
getPassword()
Gets or sets password to open a protected document.
|
double |
getUploadMeteredSize() |
boolean |
isDocumentEncrypted() |
void |
onLoadDocument(com.aspose.ms.System.IO.Stream stream) |
void |
setDocumentEncrypted(boolean value) |
void |
setDocumentPagesCount(int value) |
void |
setInputFileFormat(com.groupdocs.foundation.domain.FileType value) |
void |
setPassword(String value)
Gets or sets password to open a protected document.
|
void |
setUploadMeteredSize(double value) |
public LoadOptions()
Initializes a new instance of LoadOptions class.
public String getPassword()
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
public void setPassword(String value)
Gets or sets password to open a protected document. It will be also used to save signed document as protected.
public com.groupdocs.foundation.domain.FileType getInputFileFormat()
public void setInputFileFormat(com.groupdocs.foundation.domain.FileType value)
public void setDocumentPagesCount(int value)
public double getUploadMeteredSize()
public void setUploadMeteredSize(double value)
public boolean isDocumentEncrypted()
public void setDocumentEncrypted(boolean value)
public static void addConsumption(double consumption)
public void onLoadDocument(com.aspose.ms.System.IO.Stream stream)
Copyright © 2017. All rights reserved.