function getTransAmountInPts(operation, currHorzUnits, box) {
let amount = null;
let inputStr = "Please enter " + operation + " amount: ";
let boxWidth = qxMeasurements.getBoxWidthInPts(box);
let boxHeight = qxMeasurements.getBoxHeightInPts(box);
operation = operation.toLowerCase();
if (operation == "shrink") {
let maxVal = Math.min((boxWidth - 0.2), (boxHeight - 0.2));
if (maxVal > 0) {
let input = qxInputs.getValidNumericInput(inputStr, defaultSizeChange, 0, maxVal, false, currHorzUnits);
if (input != null) {
console.log("Entered Value: " + input);
input = qxMeasurements.convertAnyUnitToPoints(input);
amount = -input;
}