Allows to specify downsample options.
Shows how to change the resolution of images in the PDF document.
#include <Aspose.Words.Cpp/Saving/DownsampleOptions.h>
Public Member Functions | |
DownsampleOptions () | |
bool | get_DownsampleImages () const |
Specifies whether images should be downsampled. More... | |
int32_t | get_Resolution () const |
Specifies the resolution in pixels per inch which the images should be downsampled to. More... | |
int32_t | get_ResolutionThreshold () const |
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. More... | |
virtual const TypeInfo & | GetType () const override |
virtual bool | Is (const TypeInfo &target) const override |
void | set_DownsampleImages (bool value) |
Setter for get_DownsampleImages. More... | |
void | set_Resolution (int32_t value) |
Setter for get_Resolution. More... | |
void | set_ResolutionThreshold (int32_t value) |
Setter for get_ResolutionThreshold. More... | |
Static Public Member Functions | |
static const TypeInfo & | Type () |
Aspose::Words::Saving::DownsampleOptions::DownsampleOptions | ( | ) |
bool Aspose::Words::Saving::DownsampleOptions::get_DownsampleImages | ( | ) | const |
Specifies whether images should be downsampled.
Shows how to change the resolution of images in the PDF document.
int32_t Aspose::Words::Saving::DownsampleOptions::get_Resolution | ( | ) | const |
Specifies the resolution in pixels per inch which the images should be downsampled to.
Shows how to change the resolution of images in the PDF document.
int32_t Aspose::Words::Saving::DownsampleOptions::get_ResolutionThreshold | ( | ) | const |
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.
Shows how to change the resolution of images in the PDF document.
|
overridevirtual |
Reimplemented from System::Object.
|
overridevirtual |
Reimplemented from System::Object.
void Aspose::Words::Saving::DownsampleOptions::set_DownsampleImages | ( | bool | value | ) |
void Aspose::Words::Saving::DownsampleOptions::set_Resolution | ( | int32_t | value | ) |
void Aspose::Words::Saving::DownsampleOptions::set_ResolutionThreshold | ( | int32_t | value | ) |
|
static |