BestImagesCompressionRatio

IPdfOptions.BestImagesCompressionRatio 属性

指示是否必须自动选择每个图像的最有效压缩(而不是默认压缩)。如果设置为 Boolean.true,则在演示文稿中的每个图像将选择最合适的压缩算法,这将导致生成的 PDF 文档的大小更小。最佳图像压缩比选择计算昂贵,占用额外的 RAM,并且此选项默认是 Boolean.false。

public bool BestImagesCompressionRatio { get; set; }

备注

默认值为 Boolean.false。

另请参阅