4D v13WR INSERT PICTURE |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
4D Write v13
WR INSERT PICTURE
WR INSERT PICTURE
The WR INSERT PICTURE command inserts a picture in the 4D Write area referenced by area at the location specified by destination, horizPos and verticalPos. picture can either be a picture field or a picture variable. If the parameter content is not a picture, error number 1065 is returned. The destination optional parameter allows you to define where the picture will be inserted. You can use one of the following constants, found in the "WR Parameters" theme or any value >0:
The horizPos and verticalPos optional parameters are expressed in the current default unit for the document. These two parameters set the coordinates of the picture's upper left corner in relation to the upper left corner of the page. The behind optional parameter allows you to define whether the picture will be behind or in front of the text. In this parameter, you can pass one of the following constants, found in the "WR Parameters" theme:
The firstPage optional parameter is kept only for compatibility reasons and should be omitted from now on. The following example is an object method attached to a button. It allows you to insert a 4D picture in the 4D Write area and to downsize it by 50%. WR INSERT PICTURE(Area;Logo) `Inserting a picture from the Logo field For an example of picture insertion in the page, refer to the WR SET PICTURE IN PAGE INFO command. |
PROPERTIES
Product: 4D
INDEX HISTORY
Modified: 4D Write 2004 SEE ALSO |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||