PeachPDF

PeachPDF.PdfGenerateConfig

PdfGenerateConfig.MaximumDownscaleMultiplier Property

When DownscaleImages resizes an image, the resize target is the image’s on-page display size multiplied by this value, clamped to never exceed the image’s natural decoded size (downscaling never upscales). For example, an image displayed at 60x40 with a multiplier of 2.0 resizes to 120x80 - useful headroom for zooming or printing. Defaults to 1.0 (resize to exactly the display size).

public double MaximumDownscaleMultiplier { get; set; }

Property Value

System.Double