ComPDFKit Web SDK
    Preparing search index...

    Function addMeasurementScalePreset

    • Adds a scale preset.

      Parameters

      • options: {
            displayName: string;
            index?: number;
            measurementSystem: MeasurementSystem;
            presetScale: Scale;
        }

        { measurementSystem, displayName, presetScale, index }.

        • displayName: string

          The text shown in the preset list.

        • Optionalindex?: number

          Position in the list; appended when omitted.

        • measurementSystem: MeasurementSystem

          'metric' or 'imperial'.

        • presetScale: Scale

          The scale of the preset.

      Returns void