You have deprecated the following properties of Aspose.Pdf.OptimizationOptions:
- [CompressImages]
(https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/properties/compressimages)
- [ImageQuality]
(https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/properties/imagequality)
- [MaxResoultion]
(https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/properties/maxresoultion)
(note the misspelling) - [ResizeImages]
(https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/properties/resizeimages)
And moved them to [ImageCompressionOptions](https://reference.aspose.com/net/pdf/aspose.pdf.optimization/imagecompressionoptions)
class, but in order to use them I need to set the [ImageCompressionOptions](https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/properties/imagecompressionoptions)
property in the [OptimizationOptions](https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions)
class, however that is not possible since the property is read only, and there is no way to set it in the [constructor](https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/constructors/main)
, and there is no [method](https://reference.aspose.com/net/pdf/aspose.pdf.optimization/optimizationoptions/methods/index)
to set it. How am I supposed to use the new class?