Table of Contents

Property ScalePercent

Namespace
DocWright.Formats.Pdf.Raster
Assembly
DocWright.Formats.Pdf.dll

ScalePercent

Gets or sets a uniform scale as a percentage of natural size. Defaults to 100.

public int ScalePercent { get; set; }

Property Value

int

Remarks

Ignored when Width or Height is set — an explicit size is a more specific instruction than a percentage.

A percentage rather than a bare multiplier so that 150% is expressible while the value stays an integer.

Exceptions

ArgumentOutOfRangeException

The value is not positive.