4D Write v14

WR GET PICTURE SIZE

Home

 
4D Write v14
WR GET PICTURE SIZE

WR GET PICTURE SIZE 


 

WR GET PICTURE SIZE ( area ; width ; height ; origWidth ; origHeight ) 
Parameter Type   Description
area  Longint in 4D Write area
width  Longint in Current width of the picture
height  Longint in Current height of the picture
origWidth  Longint in Width of the original picture
origHeight  Longint in 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.

Example  

See the examples for the WR INSERT PICTURE and WR GET CURSOR POSITION commands.

 
PROPERTIES 

Product: 4D Write
Theme: WR Picture Control
Number: 89456

 
HISTORY 

Created: 4D Write 6.5

 
SEE ALSO 

WR GET PICTURE IN PAGE INFO
WR SET PICTURE SIZE

 
ARTICLE USAGE

4D Write Language ( 4D Write v11.6)
4D Write Language ( 4D Write v12)
4D Write Language ( 4D Write v14)
4D Write Language ( 4D v13)
4D Write Language ( 4D Write v14 R2)
4D Write Language ( 4D Write v14 R3)
4D Write Language ( 4D Write v14 R4)