VpeSetPicturePage

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

VpeSetPicturePage

Previous pageReturn to chapter overviewNext page

[Enhanced Edition and above]

Sets the number of the page which will be loaded from a multipage image file by the next call to VpePicture(). The first page starts with 1.

void VpeSetPicturePage(

VpeHandle hDoc,

long page_no

)

VpeHandle hDoc

Document Handle

long page_no

the page number which shall be loaded from a multipage image file

Default:

1

Example:

n = VpeGetPicturePageCount(hDoc, "test.tif")

for i = 1 to n

 VpeSetPicturePage(hDoc, i)

 Picture(hDoc, 0, 0, VFREE, VFREE, "test.tif")

 if i < n then

         PageBreak(hDoc)

 end if

next i

 

See Also:

"Pictures" in the Programmer's Manual