The owa_image package contains subprograms that get the coordinates of where the user clicked on an image. Use this package when you have any image map whose destination links invoke the PL/SQL Gateway. Your procedure would look something like:
create or replace procedure process_image (my_img in owa_image.point) as x integer := owa_image.get_x(my_img); y integer := owa_image.get_y(my_img); begin /* process the coordinate */ end
owa_image.NULL_POINT package variable - variable of type point
whose X and Y values are NULL.
owa_image.point data type - data type to contain the X and Y values of a coordinate.
owa_image.get_x function - gets the X value of a point type.
owa_image.get_y function - gets the Y value of a point type.
This package variable of type point
is used to default point parameters. Both the X and the Y fields of this variable are NULL.
Table 4-1 describes the properties of the owa_image.NULL_POINT package variable.
This data type provides the x and y coordinates of a user's click on an imagemap. It is defined as:
type point is table of varchar2(32767) index by binary_integer.
Table 4-2 describes the properties of the owa_image.point data type.
This function returns the X coordinate of the point where the user clicked on an image map.
Table 4-3 describes the properties of the owa_image.get_x function.
This function returns the Y coordinate of the point where the user clicked on an image map.
Table 4-4 describes the properties of the owa_image.get_y function.