Promotic
WikipediaLinkedInYoutubeTwitterFacebook

Method

Description:
The window serves for setting the parameters of one method.

It is opened from the page Draw.

Configuration items:
NameMethod name. This name must not be identical with another existing method of this object.
Initial method contentSpecifies the initial content of the method script when it is created.
empty content - The method will be created with empty script.
select PmgCanvas graphics - The method will be created with script that implements the drawing of selected PmgCanvas image.
draw PmgCanvas graphics - The method will be created including the script that is generated by drawing the PmgCanvas graphics in Canvas editor.
ParametersThe name of method parameters separated by a comma, for example par1,par2,par3. If not set, then the method is without parameters.
Image selectionIt is used for PmgCanvas image selection from Pmg object palette.
Graphics drawingIt is used for opening the window of Canvas editor.
Insert calling of this method to the end of 'onDraw' eventIf checked, then a code is added automatically to the end of 'onDraw' method that sets the necessary parameters and calls the event.
Image positionSpecifies image position and size relative to the area of the whole Pmg object.
over the whole area of the Pmg object - The image will be drawn over the whole area of the Pmg object. If a non-zero margin size is entered, then the area will be smaller by the defined value symetricaly.
in the selected subregion of the Pmg object - The image will be drawn in manualy selected subregion of the Pmg object.
Margin sizeImage margin size. Entered in pixels or in percentage relative to the whole Pmg object size.
xX coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole Pmg object.
yY coordinate of upper left corner of the image. Entered in pixels or in percentage relative to the size of whole Pmg object.
dxImage width. Entered in pixels or in percentage relative to the size of whole Pmg object.
dyImage height. Entered in pixels or in percentage relative to the size of whole Pmg object.

History:
Pm8.03.05: Created
PROMOTIC 9.0.7 SCADA system documentation - MICROSYS, spol. s r.o.

Send page remarkContact responsible person
© MICROSYS, spol. s r. o.Tavičská 845/21 703 00 Ostrava-Vítkovice