public abstract class SignOptions extends Object
Represents the Signature Options.
Modifier and Type | Field and Description |
---|---|
static double |
DEFAULT_PPM |
com.groupdocs.signature.domain.ImageBorderData |
imageBorderData |
Constructor and Description |
---|
SignOptions()
Initializes a new instance of the SignOptions class.
|
Modifier and Type | Method and Description |
---|---|
SignatureAppearance |
getAppearance()
Additional signature appearance.
|
int |
getDocumentPageNumber()
Gets or sets document page number for signing.
|
double |
getDocumentPPM()
Get Document pixels resolution - pixels per millimeter - PPM
|
com.groupdocs.signature.domain.ImageBorderData |
getImageBorder()
Gets image border data.
|
double |
getOpacity()
Gets the additional opacity for sign image (value from 0.0 (clear) through 1.0 (opaque)).
|
PagesSetup |
getPagesSetup()
Options to specify pages to be signed.
|
<T> T |
getPropertyOrDefault(boolean valueWasChanged,
T defaultValue,
T propertyValue) |
<T> T |
getPropertyOrDefault(T setupValue,
T propertyValue,
T defaultValue) |
SignatureConfig |
getSignatureConfig()
Signature Configuration to access files to work with.
|
com.aspose.ms.System.Collections.Generic.List<Integer> |
getSignPages(int totalPages)
Virtual method to get list of pages to sign.
|
com.aspose.ms.System.Collections.Generic.Queue<Integer> |
getSignPagesQueue(int totalPages)
Gets queue of pages to sign.
|
boolean |
isRotationChanged() |
void |
onError(String errorCode,
String... parameters) |
void |
setAppearance(SignatureAppearance value)
Additional signature appearance.
|
void |
setDocumentPageNumber(int value)
Gets or sets document page number for signing.
|
void |
setPagesSetup(PagesSetup value)
Options to specify pages to be signed.
|
void |
setRotationChanged(boolean value) |
void |
setSignatureConfig(SignatureConfig value)
Signature Configuration to access files to work with.
|
String |
toString()
Override string conversion.
|
public com.groupdocs.signature.domain.ImageBorderData imageBorderData
public static final double DEFAULT_PPM
public SignOptions()
Initializes a new instance of the SignOptions class.
public int getDocumentPageNumber()
Gets or sets document page number for signing.
public void setDocumentPageNumber(int value)
Gets or sets document page number for signing.
public SignatureAppearance getAppearance()
Additional signature appearance.
public void setAppearance(SignatureAppearance value)
Additional signature appearance.
public PagesSetup getPagesSetup()
Options to specify pages to be signed.
public void setPagesSetup(PagesSetup value)
Options to specify pages to be signed.
public SignatureConfig getSignatureConfig()
Signature Configuration to access files to work with.
public void setSignatureConfig(SignatureConfig value)
Signature Configuration to access files to work with.
public com.aspose.ms.System.Collections.Generic.List<Integer> getSignPages(int totalPages)
Virtual method to get list of pages to sign.
totalPages
- Total count of pagespublic com.aspose.ms.System.Collections.Generic.Queue<Integer> getSignPagesQueue(int totalPages)
Gets queue of pages to sign.
totalPages
- Total count of pagespublic double getOpacity()
Gets the additional opacity for sign image (value from 0.0 (clear) through 1.0 (opaque)). By default the value is 1.0.
public com.groupdocs.signature.domain.ImageBorderData getImageBorder()
Gets image border data.
public double getDocumentPPM()
Get Document pixels resolution - pixels per millimeter - PPM
public <T> T getPropertyOrDefault(T setupValue, T propertyValue, T defaultValue)
public <T> T getPropertyOrDefault(boolean valueWasChanged, T defaultValue, T propertyValue)
public boolean isRotationChanged()
public void setRotationChanged(boolean value)
Copyright © 2017. All rights reserved.