PicturePage

<< Click to Display Table of Contents >>

Navigation:  Picture Functions >

PicturePage

Previous pageReturn to chapter overviewNext page

[Enhanced Edition and above]

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

property long VPE.PicturePage

read / write; runtime only

Possible Values:

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

Default:

1

Example:

ActiveX / VCL:

n = Doc.GetPicturePageCount("test.tif")

for i = 1 to n

 Doc.PicturePage = i

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

 if i < n then

         Doc.PageBreak

 end if

next i

 

.NET:

n = Doc.GetPicturePageCount("test.tif")

for i = 1 to n

 Doc.PicturePage = i

Doc.Picture(0, 0, Doc.nFree, Doc.nFree, "test.tif")

 if i < n then

         Doc.PageBreak()

 end if

next i

 

See also:

"Pictures" in the Programmer's Manual