Class PdfFileEditor.ContentsResizeValue

PdfFileEditor.ContentsResizeValue class

Value of margin or content size specified in percents of default space units. This class is used in ContentsResizeParameters.

public class ContentsResizeValue


IsPercent { get; }Gets true if value is expressed in percents; False if value is expressed in default units.
PercentValue { set; }Sets value in percents of page size.
UnitValue { set; }Sets value in default space units.
Value { get; }Gets specified value. Use Unit property to get value units.


static Auto()Initializes automatically calculated value.
static Percents(double)Initializes value in percents.
static Units(double)Initializes value in default space units.

See Also