ContentsResizeValue

ContentsResizeValue

Overview

ContentsResizeValue is a class in Aspose.PDF FOSS for .NET.

Represents a content-resize value.

This class provides 3 methods for working with ContentsResizeValue objects in .NET programs. Available methods include: Auto, Percents, Units. All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package. Properties: IsPercent, PercentValue, UnitValue, Value.

Properties

NameTypeAccessDescription
ValuedoubleReadThe numeric value (percentage or points, depending on IsPercent).
IsPercentboolReadTrue when Value is a percentage of the page dimension.
PercentValuedoubleRead/WriteSet this value as a percentage of the page dimension.
UnitValuedoubleRead/WriteSet this value as an absolute number of points.

Methods

SignatureDescription
Auto()Create an auto-sized value (engine derives it from the surrounding constraints).
Percents(value: double)Create a value expressed as a percentage of the page dimension.
Units(value: double)Create a value expressed as absolute points.

See Also