Picture

Previous Next

 

A picture displayed in a dialog window.

 

Example

In this example:

location is a filepath pointing to the file that contains the picture.

scale provides a way to scale the picture's dimensions: scale="2" causes it to double in height and width. The default is scale="1".

<example xmlns:pc="Processing.Command" xmlns:assign="Processing.Command.Assign" pc:hideme="true">
  <pc:Dialog >
     <Form w="400" h="200">
        <Title>Dialog</Title>
        <Picture x="20" y="20" name="mypicture" location="c:\temp\applet.ico" scale="2"/>
     </Form>
  </pc:Dialog>
</example>

 

See also

pc:Dialog