Nutrient Web SDK
    Preparing search index...

    Interface MeasurementValueConfiguration

    interface MeasurementValueConfiguration {
        name?: string;
        precision:
            | "whole"
            | "oneDp"
            | "twoDp"
            | "threeDp"
            | "fourDp"
            | "1/2"
            | "1/4"
            | "1/8"
            | "1/16";
        scale: {
            fromValue: number;
            toValue: number;
            unitFrom: "in"
            | "mm"
            | "cm"
            | "pt";
            unitTo: "in" | "mm" | "cm" | "pt" | "ft" | "m" | "yd" | "km" | "mi";
        };
        selected?: boolean;
    }
    Index

    Properties

    name?: string

    Your custom configuration name. It has to be unique.

    precision:
        | "whole"
        | "oneDp"
        | "twoDp"
        | "threeDp"
        | "fourDp"
        | "1/2"
        | "1/4"
        | "1/8"
        | "1/16"

    Precision values for the length of measurement annotations

    scale: {
        fromValue: number;
        toValue: number;
        unitFrom: "in" | "mm" | "cm" | "pt";
        unitTo: "in" | "mm" | "cm" | "pt" | "ft" | "m" | "yd" | "km" | "mi";
    }

    The custom scale passed in the configuration, it represent the scale used in the document

    selected?: boolean

    Whether a custom scale is selected or not.