PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
The following constants are used by the drawing functions.
ConstantDetailsFunction
Versions 21 and later
BackgroundGradient
New in version 21
BackgroundGradient
BackgroundGradient
Type of background: Background with gradient colors.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
BackgroundHatched
New in version 21
BackgroundHatched
BackgroundHatched
Type of background: Hatched background.
Versions 21 and later
Type Background
New in version 21
Type Background
Type Background
Versions 21 and later
BackgroundSolid
New in version 21
BackgroundSolid
BackgroundSolid
Type of background: Solid background.
Versions 21 and later
Type Background
New in version 21
Type Background
Type Background
Versions 21 and later
BackgroundTransparent
New in version 21
BackgroundTransparent
BackgroundTransparent
Type of background: Transparent background.
Versions 21 and later
Background type
New in version 21
Background type
Background type
copyBlacknessFills the Image control with blackdCopyBlt
copyDstInvertReverses the colors of destination Image controldCopyBlt
copyImageCombines the source image and the destination image by using the transparency information of destination image
Can be used to include a logo in the destination image for example.
dCopyBlt
copyMergeCopyMerges the source Image control and the destination Image controldCopyBlt
copyMergePaintCombines, via the "Logical AND" method, the source Image control and the "pattern" of destination Image controldCopyBlt
copyNotSrcCopyReverses the colors of source Image controldCopyBlt
copyNotSrcEraseReverses, via the "Or" method, the combination between the source Image control and the destination Image controldCopyBlt
copyPatCopyCopies the "pattern" of source Image control into the destination Image controldCopyBlt
copyPatInvertCombines, via the "Exclusive Or" method, the pattern of source Image control and the "pattern" of destination Image controldCopyBlt
copyPatPaintCombines, via the "Or" method, the inverted source Image control and the "pattern" of destination Image controldCopyBlt
copyScreenCopies the screendCopyBlt
copySrcAndCombines, via the "and" method, the pixels of the Image image control and the pixels of destination Image controldCopyBlt
copySrcCopyCopies the source Image control into the destination Image control (simple copy)dCopyBlt
copySrcEraseReverses the destination Image control and combines the result with the copy of source Image controldCopyBlt
copySrcInvertCombines, via the "Exclusive Or" method, the pattern of source Image control and the "pattern" of destination Image controldCopyBlt
copySrcPaintCombines, via the "Or" method, the pixels of source Image control and the pixels of destination Image controldCopyBlt
copyWhitenessFills the Image control with whitedCopyBlt
Versions 16 and later
dComponentBlue
New in version 16
dComponentBlue
dComponentBlue
The Blue component of image will be copied into the array.dImageToArray
Versions 16 and later
dComponentGreen
New in version 16
dComponentGreen
dComponentGreen
The Green component of image will be copied into the array.dImageToArray
Versions 16 and later
dComponentRed
New in version 16
dComponentRed
dComponentRed
The Red component of image will be copied into the array.dImageToArray
Versions 16 and later
dComponentRGB
New in version 16
dComponentRGB
dComponentRGB
All image components will be copied into the array.dImageToArray
Versions 22 and later
dDisplayAsynchronous
New in version 22
dDisplayAsynchronous
dDisplayAsynchronous
In browser code, used to optimize the drawing performances on an image. The Image control contains the drawing when the user action is over. dStartDrawing
Versions 16 and later
dDisplayManual
New in version 16
dDisplayManual
dDisplayManual
In browser code, used to carry over the display of drawing. The drawing will be displayed in the Image control once dDisplay will be used. dStartDrawing
dEraseErases the drawing found in the Image control.dStartDrawing
Versions 16 and later
dGrayScale
New in version 16
dGrayScale
dGrayScale
The image in grayscale will be copied into the array.dImageToArray
dGridlinesOpacityThe drawing is displayed over gridlines in order to highlight the transparent or semi-transparent sections of drawing. The gridlines are not saved in the image.dStartDrawing
dNoEraseDoes not erase the drawing found in the Image control.dStartDrawing
Versions 23 and later
dNoShadow
New in version 23
dNoShadow
dNoShadow
Management mode of shadow: The window shadow is not kept when copying the window. dCopyWindowImage
dOnChartUsed to draw in an Image control in which a chart was already drawn. In this case, the chart drawing is not erased.dStartDrawing
Versions 17 and later
drAdapt
New in version 17
drAdapt
drAdapt
Rotation option: The image is turned while it is enlarged. Then, its size is reduced to correspond to the initial image size.dRotation
drawAntiAliasingUses GDI+ to draw lines and circles without jagged effects. This mode is slower but the result is better than with the standard mode.dChangeMode
drawDefaultDrawing mode: Standard colorsdChangeMode
drawXORDrawing mode: Colors applied using a "exclusive or" operation with the background. Erases a drawing if this option is used twice.dChangeMode
Versions 17 and later
drDefault
New in version 17
drDefault
drDefault
Rotation option: Enlarge the image (if necessary) so that it corresponds to the dimensions of rotated image.dRotation
Versions 18 and later
drHighQuality
New in version 18
drHighQuality
drHighQuality
Resizing option: In homothetic mode, improves the quality of the image when this one is reduced in relation to its initial sizedResize
Versions 17 and later
drHomothetic
New in version 17
drHomothetic
drHomothetic
Resizing option: The image is stretched or reduced to occupy the defined space in an optimal way without being distorted. It occupies:
  • the entire specified height.
  • the entire specified width.
dResize
Versions 17 and later
drHomotheticCentered
New in version 17
drHomotheticCentered
drHomotheticCentered
Resizing option: The image is stretched or reduced to occupy the defined space in an optimal way without being distorted and it is centered. It occupies:
  • the entire specified height: the image is centered horizontally.
  • the entire specified width: the image is centered vertically.
dResize
Versions 17 and later
drHomotheticExtended
New in version 17
drHomotheticExtended
drHomotheticExtended
Resizing option: The image is stretched or reduced in order for the smallest side of the image to be entirely displayed.dResize
Versions 17 and later
drNoEnlarging
New in version 17
drNoEnlarging
drNoEnlarging
Rotation option: The image is turned but it is not enlarged.dRotation
Versions 17 and later
drStretched
New in version 17
drStretched
drStretched
Resizing option: The image is stretched (if necessary) to correspond to the new specified width and to the new specified height.dResize
Versions 17 and later
drTiled
New in version 17
drTiled
drTiled
Resizing option: The image is tiled to occupy the entire new specified width and the entire new specified height.dResize
dWithOpacityAllows the opacity to be managed in the different drawing functions used by the Image control.dStartDrawing
Versions 23 and later
dWithShadow
New in version 23
dWithShadow
dWithShadow
Management mode of shadow: The window shadow is kept when copying the window. dCopyWindowImage
Versions 21 and later
gclDefault
New in version 21
gclDefault
gclDefault
Style of the text displayed in the link: The text of the link is underlined and it is colored in blue. The rollover cursor is shaped like a hand.
Versions 21 and later
gClickableLink
New in version 21
gClickableLink
gClickableLink
Versions 21 and later
gclNoFontModif
New in version 21
gclNoFontModif
gclNoFontModif
Style of the text displayed in the link: The text of the link is displayed in the initial style
Versions 21 and later
gClickableLink
New in version 21
gClickableLink
gClickableLink
Versions 21 and later
HatchCrossed
New in version 21
HatchCrossed
HatchCrossed
Style of hatching: Criss-crossed hatching.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchCrossedDiagonal
New in version 21
HatchCrossedDiagonal
HatchCrossedDiagonal
Style of hatching: Diagonal cross hatching.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchDiagonal
New in version 21
HatchDiagonal
HatchDiagonal
Style of hatching: Diagonal hatching at 60%.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchDiagonalBottom
New in version 21
HatchDiagonalBottom
HatchDiagonalBottom
Style of hatching: Diagonal hatching at 120%.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchHorizontal
New in version 21
HatchHorizontal
HatchHorizontal
Style of hatching: Horizontal hatching.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchNone
New in version 21
HatchNone
HatchNone
Style of hatching: No hatching.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 21 and later
HatchVertical
New in version 21
HatchVertical
HatchVertical
Style of hatching: Vertical hatching.
Versions 21 and later
Background type
New in version 21
Background type
Background type
Versions 19 and later
icoFormatBMP
New in version 19
icoFormatBMP
icoFormatBMP
Image of the icon in BMP format.
Versions 19 and later
Icon variable
New in version 19
Icon variable
Icon variable
Versions 19 and later
icoFormatPNG
New in version 19
icoFormatPNG
icoFormatPNG
Image of icon in PNG format.
Versions 19 and later
Icon variable
New in version 19
Icon variable
Icon variable
imgAddThumbnailAdds a thumbnail into the image file (<File Name>).
This constant is ignored if a thumbnail is found in the image file displayed in the Image control.
dSaveImageJPEG
Versions 17 and later
imgBGR
New in version 17
imgBGR
imgBGR
Type of image buffer used: Image in 24-bit Blue Green Red format
Versions 17 and later
dTransferToImage
New in version 17
dTransferToImage
dTransferToImage
Versions 17 and later
imgBGR32
New in version 17
imgBGR32
imgBGR32
Type of image buffer used: Image in 32-bit Blue Green Red format without alpha layer.
Versions 17 and later
dTransferToImage
New in version 17
dTransferToImage
dTransferToImage
Versions 17 and later
imgBGRA
New in version 17
imgBGRA
imgBGRA
Type of image buffer used: Image in 32-bit Blue Green Red format with alpha layer.
Versions 17 and later
dTransferToImage
New in version 17
dTransferToImage
dTransferToImage
Versions 17 and later
imgConvert
New in version 17
imgConvert
imgConvert
Mode for loading the image: Convert an image from the 8-bit format to the 24-bit format. This option is used to apply the effect algorithms to this image for example.
Versions 17 and later
dLoadImage
New in version 17
dLoadImage
dLoadImage
Versions 17 and later
imgDefault
New in version 17
imgDefault
imgDefault
Mode for loading the image: Load the image as it is.
Versions 17 and later
dLoadImage
New in version 17
dLoadImage
dLoadImage
imgGrayScaleAllows you to save the image in black and white ("Grayscale" display mode)dSaveImageJPEG
imgProgressiveJPEGAllows you to save the image in progressive JPEG format. This format is mainly used for the Web sites; it allows the pages to be loaded faster (the images being loaded and displayed progressively).dSaveImageJPEG
Versions 17 and later
imgRGB32
New in version 17
imgRGB32
imgRGB32
Type of image buffer used: Image in 32-bit Red Green Blue format without alpha layer.
Versions 17 and later
dTransferToImage
New in version 17
dTransferToImage
dTransferToImage
imgSaveTagSaves the Exif tags.
A new thumbnail is calculated if a thumbnail is found in the image file displayed in the Image control
dSaveImageJPEG
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment