PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Draws a border in an Image control.
Example
// Dessine un rectangle avec bords bleus, fond vert et coins arrondis
// dans un champ Image
 
Rect est un Rectangle
Rect.X = 10
Rect.Y = 15
Rect.Largeur = 100
Rect.Hauteur = 150
StyleCadre est un Cadre
StyleCadre.Couleur  = BleuClair
StyleCadre.Arrondi = 30
StyleCadre.Epaisseur = 1
StyleFond est un Fond
StyleFond.Couleur = VertClair
IMG_Dessin.DessineCadre(Rect, StyleCadre, StyleFond)
Syntax
<Image control>.DrawBorder(<Border> [, <Border style> [, <Background style>]])
<Image control>: Control name
Name of the Image control to use.
<Border>: Rectangle variable
Name of the Rectangle variable that specifies the limits of the border to draw.
<Border style>: Optional Border variable
Name of the Border variable that describes the border style.
If this parameter is not specified or if the Color, Thickness and Feature properties of the Variable of type Border are undefined, the information of the current style (defined by the <Image>.Pen function) is used. If <Image>.Pen was not used:
  • Border color: corresponds to the background color of the rectangle.
  • Thickness: 1
  • Line: corresponds to the LineSolid constant.
<Background style>: Optional Background variable
Name of the Background variable that describes the background style.
If this parameter is not specified, the information of the current brush is used.
Business / UI classification: Neutral code
Component: wd270pnt.dll
Minimum version required
  • Version 24
This page is also available for…
Comments
Click [Add] to post a comment