MeasureValue class

MeasureValue class

Represents a measurement value with a specific type and numerical value.

The MeasureValue type exposes the following members:

Constructors

Constructor Description
init

Properties

Property Description
measure_type The type of measurement.
value The numerical value of the measurement; it must be greater than 0.

Example

from groupdocs.watermark.watermarks import MeasureValue, TileMeasureType

# Create a measurement expressed as a percentage of the page
spacing = MeasureValue()
spacing.measure_type = TileMeasureType.PERCENT
spacing.value = 12.0

Guides

Task guides that use MeasureValue:

See Also