Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Method

Description:
The window serves for setting the parameters of one method. It is opened from Draw page.
Configuration items:
NameMethod name. This name must not be identical with another existing method of this object.
Initial method contentDefines the initial content of the method script when it is created.
empty content - The method will be created with empty script.
select PmiCanvas graphics - The method will be created with script that implements the drawing of selected PmiCanvas image.
draw PmiCanvas graphics - The method will be created including the script that is generated by drawing the PmiCanvar graphics in Canvas editor.
ParametersName of method parameters separated by a comma, for example par1,par2,par3. If it is not filled up, 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 keyword ByVal 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 selectionUsed for PmiCanvas image selection from graphic item palette.
Graphics drawingUsed for opening the window of Canvas editor.
Insert calling of this method to the end of 'onDraw' methodIf checked than a code is added automaticaly to the end of 'onDraw' method that sets the necessary parameters and calls the method.
Image positionDefines 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 the area will be smaller by the defined value symetricaly.
in the selected subregion of the graphic item - The image will be drawn in manualy selected subregion of the graphic item.
Margin sizeImage margin size. Entered in pixels or in percentage relative to the whole graphic item size.
xX coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole graphic item.
yY coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole graphic item.
dxImage width. Entered in pixels or in percentage relative to the size of whole graphic item.
dyImage height. Entered in pixels or in percentage relative to the size of whole graphic item.
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice