java.lang.Object
com.aspose.words.DownsampleOptions
public class DownsampleOptions
- extends java.lang.Object
Allows to specify downsample options.
Property Getters/Setters Summary |
boolean | getDownsampleImages() | |
void | setDownsampleImages(boolean value) | |
|
Specifies whether images should be downsampled.
|
int | getResolution() | |
void | setResolution(int value) | |
|
Specifies the resolution in pixels per inch which the images should be downsampled to.
|
int | getResolutionThreshold() | |
void | setResolutionThreshold(int value) | |
|
Specifies the threshold resolution in pixels per inch.
If resolution of an image in the document is less than threshold value,
the downsampling algorithm will not be applied.
A value of 0 means the threshold check is not used and all images that can be reduced in size are downsampled.
|
DownsampleOptions
public DownsampleOptions()
-
Property Getters/Setters Detail |
getDownsampleImages/setDownsampleImages | |
public boolean getDownsampleImages() / public void setDownsampleImages(boolean value)
|
-
Specifies whether images should be downsampled.
The default value is
true
.
getResolution/setResolution | |
public int getResolution() / public void setResolution(int value)
|
-
Specifies the resolution in pixels per inch which the images should be downsampled to.
The default value is 220 ppi.
getResolutionThreshold/setResolutionThreshold | |
public int getResolutionThreshold() / public void setResolutionThreshold(int value)
|
-
Specifies the threshold resolution in pixels per inch.
If resolution of an image in the document is less than threshold value,
the downsampling algorithm will not be applied.
A value of 0 means the threshold check is not used and all images that can be reduced in size are downsampled.
The default value is 0.
See Also:
Aspose.Words Documentation - the home page for the Aspose.Words Product Documentation.
Aspose.Words Support Forum - our preferred method of support.