scale = new Double(arg);
}
// add JavaScript code for initializing the 3d link annotation
stream.addJSCode("\nadd3DLinkAnnotation('"
+ ANNOT_RESOURCE_NAME + "'," + pos.toPDF3DJSString()
+ ",'" + destination + "'," + scale + ",new Color("
+ (color.getRed() / 255d) + ","
+ (color.getGreen() / 255d) + ","
+ (color.getBlue() / 255d) + "));");
}