Jump to content

API Panel.Graphics.DrawCreate

From Flowcode Help
Revision as of 14:11, 13 July 2026 by SteveT (talk | contribs) (Text replacement - "width="90%" style="background-color:#D8C9D8; color:#4B008D;"" to "width="90%" class="mtx-class-macrohead"")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
DrawCreate
Creates a drawing area on a shape 
- HANDLE Handle
Component to create a drawing area on 
- LONG X
The horizontal size of the drawing canvas in pixels 
- LONG Y
The vertical size of the drawing canvas in pixels 
- BOOL Monochrome
Set true to create a greyscale image, else full colour 
- ULONG FillCol
The colour to fill the canvas with 
- NONE Return


Detailed description

Examples

Calling in a calculation

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