Difference between revisions of "API Panel.Graphics.DrawCreate"

From Flowcode Help
Jump to navigationJump to search
(XML Import to change Variable types into Variable Types)
(XML import)
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
<sidebar>API contents</sidebar>
+
<sidebar>API Contents</sidebar>
 
Creates a drawing area on a shape
 
Creates a drawing area on a shape
  
Line 43: Line 43:
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre>
 
* Add to a calculation icon: <pre class="brush:[cpp]">::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)</pre>
  
''<span style="color:red;">No additional information</span>''
+
''<span style="color:red;">No additional examples</span>''

Latest revision as of 15:57, 16 January 2014

<sidebar>API Contents</sidebar> Creates a drawing area on a shape

Class hierarchy

Panel

Graphics
DrawCreate

Parameters

HANDLE Handle

Component to create a drawing area on

LONG X

The horizontal size of the drawing canvas in pixels
The default value for this parameter is: 320

LONG Y

The vertical size of the drawing canvas in pixels
The default value for this parameter is: 256

BOOL Monochrome

Set true to create a greyscale image, else full colour
The default value for this parameter is: 0

ULONG FillCol

The colour to fill the canvas with
The default value for this parameter is: 0


Return value

This call does not return a value


Detailed description

No additional information


Examples

Calling in a calculation

  • Add to a calculation icon:
    ::Panel.Graphics.DrawCreate(handle, x, y, true, fillcol)

No additional examples