It is opened from the page Draw.
|Name||Method name. This name must not be identical with another existing method of this object.|
|Initial method content||Specifies the initial content of the method script when it is created.|
select PmiCanvas graphics - The method will be created with script that implements the drawing of selected PmiCanvas image.
|Parameters||The name of method parameters separated by a comma, for example par1,par2,par3. If not set, then the method is without parameters. Parameters are passed by the reference by default, i.e. ByRef. |
It is possible to define parameters passed by the value, i.e. ByVal. It is necessary to place the ByVal keyword before the parameter name. ByVal parameters can't change the value of the variable passed to the parameter (only the variable copy is passed).
|Image selection||It is used for PmiCanvas image selection from graphic item palette.|
|Graphics drawing||It is used for opening the window of Canvas editor.|
|Insert calling of this method to the end of 'onDraw' method||If checked, then a code is added automatically to the end of 'onDraw' method that sets the necessary parameters and calls the method.|
|Image position||Specifies image position and size relative to the area of the whole graphic item.|
over the whole area of graphic item - The image will be drawn over the whole area of the graphic item. If a non-zero margin size is entered, then the area will be smaller by the defined value symetricaly.
|Margin size||Image margin size. Entered in pixels or in percentage relative to the whole graphic item size.|
|x||X coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole graphic item.|
|y||Y coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole graphic item.|
|dx||Image width. Entered in pixels or in percentage relative to the size of whole graphic item.|
|dy||Image height. Entered in pixels or in percentage relative to the size of whole graphic item.|