Constructor and Description |
---|
Document.OptimizationOptions() |
Modifier and Type | Method and Description |
---|---|
static Document.OptimizationOptions |
all()
Creates optimization strategy will all options activated.
|
boolean |
getCompressImages()
If this flag is set to true images will be compressed in the document.
|
int |
getImageQuality()
Specifie slevel of image compression when CompressIamges flag is used.
|
boolean |
getLinkDuplcateStreams()
If this flag is set to true, Resource streams will be analyzed.
|
boolean |
getRemoveUnusedObjects()
If this flag is set to true, all document objects will be checked and unused objects
(i.e.
|
boolean |
getRemoveUnusedStreams()
If this flag set to true, every resource is checked on it's usage.
|
boolean |
getUnembedFonts()
Make fonts not embedded if set to true.
|
void |
setCompressImages(boolean value) |
void |
setImageQuality(int value) |
void |
setLinkDuplcateStreams(boolean value)
If this flag is set to true, Resource streams will be analyzed.
|
void |
setRemoveUnusedObjects(boolean value)
If this flag is set to true, all document objects will be checked and unused objects
(i.e.
|
void |
setRemoveUnusedStreams(boolean value)
If this flag set to true, every resource is checked on it's usage.
|
void |
setUnembedFonts(boolean value) |
public boolean getLinkDuplcateStreams()
public void setLinkDuplcateStreams(boolean value)
public boolean getRemoveUnusedStreams()
public void setRemoveUnusedStreams(boolean value)
public boolean getRemoveUnusedObjects()
public void setRemoveUnusedObjects(boolean value)
public boolean getCompressImages()
If this flag is set to true images will be compressed in the document. compression level is specfied with ImageQuality property.
public void setCompressImages(boolean value)
public int getImageQuality()
Specifie slevel of image compression when CompressIamges flag is used.
public void setImageQuality(int value)
public boolean getUnembedFonts()
Make fonts not embedded if set to true.
public void setUnembedFonts(boolean value)
public static Document.OptimizationOptions all()
Copyright © 2014 Aspose. All Rights Reserved.