4D Write v16WR GET PICTURE SIZE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v16
WR GET PICTURE SIZE
|
WR GET PICTURE SIZE ( area ; width ; height ; origWidth ; origHeight ) | ||||||||
Parameter | Type | Description | ||||||
area | Longint |
![]() |
4D Write area | |||||
width | Longint |
![]() |
Current width of the picture | |||||
height | Longint |
![]() |
Current height of the picture | |||||
origWidth | Longint |
![]() |
Width of the original picture | |||||
origHeight | Longint |
![]() |
Height of the original picture | |||||
The WR GET PICTURE SIZE command allows you to retrieve information about the size of a selected picture. That picture must be located in the text flow. To get size information about a picture embedded in a page, use the WR GET PICTURE IN PAGE INFO command.
For the WR GET PICTURE SIZE command to operate properly, the picture has to be the only element of the selection.
height is the picture height. It is expressed in the current default units for the document.
width is the picture width. It is expressed in the current default units for the document.
origHeight and origWidth are respectively the original height and width before the picture was resized. If origHeight and origWidth are identical to height and width the picture has not been resized. origHeight and origWidth are expressed in the current document unit.
Note: If you want to select a picture, you can use the WR SELECT command.
See the examples for the WR INSERT PICTURE and WR GET CURSOR POSITION commands.
Product: 4D Write
Theme: WR Picture Control
Number:
89456
Created: 4D Write 6.5
4D Write Language ( 4D Write v16)