Navigation: Ultimate Suite for PowerBuilder Help > PowerSnip > Functions >

of_snip

Send comments on this topic.

 

Description:
 

Displays the snip overlay on the registered window. Users set the cropping region, then copy or save the screen shot.

Syntax:

of_snip ()
of_snip (window aw_window)

Argument

Description

as_window (optional)

A reference to the main frame window that the clipping overlay will display on top of. It's strongly recommended to always use the top most frame window.

Return Value:

Returns 1 if no errors were encountered. Returns -1 if the parent window reference is invalid.

Usage:

n_cst_powersnip lnv_snip

lnv_snip.of_Snip(w_frame)


Alternatively:

n_cst_powersnip lnv_snip

lnv_snip.of_Register(w_frame)
lnv_snip.of_Snip()


Copyright © 2021 Werysoft Inc.