It is important to use the correct type of variable when calling methods with parameters. The prefix of the parameter name indicates the type of value expected.
Notes:
•Element coordinates and size are always entered as "measurement", e.g. in millipoints; should you need to use other units, convert them with the Units object, example: dim width as Long = Units.ToVal("3in") converts 3 inches to millipoints and assigns it to the local variable width.
•Angle of rotation is to be entered in tenths of degrees.
•Integers are used for element ID's.
•Color name must be defined in the color table, related to the current typography.