Functionws_selectionstartend

Defined in: pbwword

public subroutine ws_selectionstartend (long movetype, long arg_extend)

Comment:
 Position/Select the the insertion point at the beginning or at the end of the document
moveType = 0 -> move
moveType = 1 -> extend
arg_extend = 0 -> start of the document
arg_extend = 1 -> end of the document


Script:
public subroutine ws_selectionstartend (long movetype, long arg_extend);

if (moveType < 0 ) or (moveType > 1) then
	return
end if
if (arg_extend < 0 ) or (arg_extend > 1) then
	return
end if
i_PBWWord.SelectionStartEnd(moveType,arg_extend )
end subroutine