4D Write v16WR GET PICTURE IN PAGE INFO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR GET PICTURE IN PAGE INFO
|
WR GET PICTURE IN PAGE INFO ( area ; pictureNumber ; page ; behind ; firstPage ; horizPos ; verticalPos ; width ; height ; origWidth ; origHeight ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Write area | |||||
pictureNumber | Longint |
![]() |
Picture number | |||||
page | Longint |
![]() |
Picture location | |||||
behind | Integer |
![]() |
0=Picture is in front of the text, 1=Picture is behind the text | |||||
firstPage | Integer |
![]() |
***Obsolete, do not use*** | |||||
horizPos | Longint |
![]() |
Horizontal position in the page | |||||
verticalPos | Longint |
![]() |
Vertical position in the page | |||||
width | Longint |
![]() |
Current width of the picture | |||||
height | Longint |
![]() |
Current height of the picture | |||||
origWidth | Longint |
![]() |
Original width of the picture | |||||
origHeight | Longint |
![]() |
Original height of the picture | |||||
The WR GET PICTURE IN PAGE INFO command returns information about the picture whose number was passed in pictureNumber, as it currently appears in the 4D Write area referenced by area.
Warning: this command should not be used with pictures that are part of the text flow.
page allows you to know in which page the picture is displayed.horizPos and vertPos return the coordinates of the picture's upper left corner in relation to the upper left corner of the page. Those values are expressed in the current default units for the document.
width and height return the current dimensions of the picture.
origWidth and origHeight return the original dimensions of the picture before any modification. If the picture was not resized, origWidth and origHeight return the same values as width and
height. Those values are expressed in the current default units for the document.
Note: It may be convenient to change the current unit to pixels for some computations.
See the example for the WR SET PICTURE IN PAGE INFO command.
WR DELETE PICTURE IN PAGE
WR GET PICTURE SIZE
WR SET PICTURE IN PAGE INFO
Product: 4D Write
Theme: WR Picture Control
Number:
89466
Modified: 4D Write 2004
4D Write Language ( 4D Write v16)