VintaSoft Imaging .NET SDK 14.0: Documentation for .NET developer
Vintasoft.Imaging.Pdf.Tree Namespace / PdfImageResource Class / Compress Methods / Compress(PdfCompression,PdfCompressionSettings,Double,Double) Method
Syntax Requirements SeeAlso
In This Topic
    Compress(PdfCompression,PdfCompressionSettings,Double,Double) Method (PdfImageResource)
    In This Topic
    Compress the image-resource.
    Syntax

    Parameters

    compression
    Compression that should be applied to the image-resource.
    compressionSettings
    Compression settings.
    scaleX
    Scale factor of X axis.
    scaleY
    Scale factor of Y axis.

    Return Value

    True if compression is applied to the image-resource; otherwise, false.
    Requirements

    Target Platforms: .NET9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

    See Also