GetZRight Method (PICT)


PLBCMP GUI Only

 

The GetZRight method returns the right coordinate of the zooming rectangle when drawn within a PICT object. The method uses the following format:

 

[label]

{object}.GetZRight

[GIVING {return}]

 

Where:

label

Optional. A Program Execution Label.

object

Required. A PICT object to examine.

return

Optional. A Numeric Variable that returns the zero-based right coordinate.

Flags Affected: EOS, OVER, ZERO

Note the following:

  1. Upon completion, {return} will contain the right coordinate of the zooming rectangle.

  2. The return value is in pixels and zero relative to the PICT object window.

  3. A value of zero is returned if a zooming rectangle does not exist.

  4. If the value returned is zero, the ZERO Condition Flag is set.

  5. If {return} is too small to contain the coordinate, the OVER Condition Flag is set.

  6. The EOS Condition Flag is always cleared.

  7. This method is not available when using the PL/B Web Server.

 

 

See Also: Method Syntax, PICT Methods

 



PL/B Language Reference GetZLeft Method (PICT) GetZTop Method (PICT)