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
Display constants used by prefix syntaxes only
The following constants are used by the drawing functions.
ConstantDetailsFunction
or type of variable
BackgroundGradientType of background: Background with gradient colors. Background variable
BackgroundHatchedType of background: Hatched background.Background variable
BackgroundSolidType of background: Solid background.Background variable
BackgroundTransparentType of background: Transparent background. Background variable
copyBlacknessFills the Image control with blackdCopyBlt
copyDstInvertInverts the colors of the destination Image controldCopyBlt
copyImageCombines the source image with the destination image using the transparency information of the 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 the source Image control with the "pattern" of the destination Image control via the "Logical AND" methoddCopyBlt
copyNotSrcCopyInverts the colors of the source Image controldCopyBlt
copyNotSrcEraseInverts the combination between the source and the destination Image controls via the "OR" methoddCopyBlt
copyPatCopyCopies the "pattern" from the source Image control to the destination Image controldCopyBlt
copyPatInvertCombines the pattern of the source and destination Image controls via the "XOR" (Exclusive Or) methoddCopyBlt
copyPatPaintCombines the inverted source Image control with the "pattern" of the destination Image control via the "OR" methoddCopyBlt
copyScreenCopies the screendCopyBlt
copySrcAndCombines the pixels of the source and destination Image controls via the "AND" methoddCopyBlt
copySrcCopyCopies the source Image control to the destination Image control (simple copy)dCopyBlt
copySrcEraseInverts the destination Image control and combines the result with the copy of the source Image controldCopyBlt
copySrcInvertCombines the pattern of the source and destination Image controls via the "XOR" (Exclusive Or) methoddCopyBlt
copySrcPaintCombines the pixels of the source and destination Image controls via the "OR" methoddCopyBlt
copyWhitenessFills the Image control with whitedCopyBlt
dComponentBlueThe Blue component of image will be copied into the array.dImageToArray
dComponentGreenThe Green component of image will be copied into the array.dImageToArray
dComponentRedThe Red component of image will be copied into the array.dImageToArray
dComponentRGBAll image components will be copied into the array.dImageToArray
dDisplayAsynchronousIn browser code, used to optimize the drawing performance on an image. The drawing is displayed in the Image control once the user has finished their action. dStartDrawing
dDisplayManualIn browser code, it delays the display of the drawing. The drawing will be displayed in the Image control after the call to dDisplay. dStartDrawing
dEraseErases the drawing found in the Image control.dStartDrawing
dGrayScaleThe 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 the drawing. The gridlines are not saved in the image.dStartDrawing
dNoEraseDoes not erase the drawing found in the Image control.dStartDrawing
dNoShadowShadow management mode: The shadow is not kept when the window is copied. 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
drAdaptRotation option: The image is flipped and 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
drDefaultRotation option: Enlarge the image (if necessary) so that it corresponds to the dimensions of rotated image.dRotation
drHighQualityResizing option: In homothetic mode, improves the quality of the image when this one is reduced in relation to its initial sizedResize
drHomotheticResizing 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
drHomotheticCenteredResizing 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
drHomotheticExtendedResizing option: The image is stretched or reduced in order for the smallest side of the image to be entirely displayed.dResize
drNoEnlargingRotation option: The image is flipped but not enlargeddRotation
drStretchedResizing option: The image is stretched if necessary to fit the new specified width and height.dResize
drTiledResizing 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
dWithShadowShadow management mode: The shadow is kept when the window is copied. dCopyWindowImage
gclDefaultStyle 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.gClickableLink
gclNoFontModifStyle of the text displayed in the link: The text of the link is displayed in the initial stylegClickableLink
HatchCrossedStyle of hatching: Criss-crossed hatching.Background variable
HatchCrossedDiagonalStyle of hatching: Diagonal crossed hatching. Background variable
HatchDiagonalStyle of hatching: Diagonal hatching at 60%.Background variable
HatchDiagonalBottomStyle of hatching: Diagonal hatching at 120%.Background variable
HatchHorizontalStyle of hatching: Horizontal hatching.Background variable
HatchNoneStyle of hatching: No hatching.Background variable
HatchVerticalStyle of hatching: Vertical hatching.Background variable
icoFormatBMPImage of the icon in BMP format.Icon variable
icoFormatPNGImage of icon in PNG format.Icon variable
imgAddThumbnailAdds a thumbnail in the generated JPEG file.dSaveImageJPEG
imgBGR32Type of image buffer used: Image in 32-bit Blue Green Red format without alpha layer.dTransferToImage
imgBGRType of image buffer used: Image in 24-bit Blue Green Red formatdTransferToImage
imgBGRAType of image buffer used: Image in 32-bit Blue Green Red format with alpha layer.dTransferToImage
imgConvertMode 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.dLoadImage
imgDefaultMode for loading the image: Load the image as it is.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
imgRGB32Type of image buffer used: Image in 32-bit Red Green Blue format without alpha layer.dTransferToImage
imgSaveTagSaves the Exif tags.dSaveImageJPEG
The following constants (prefix syntax) are used by the drawing functions.
ConstantDetailsFunction
BackgroundGradientType of background: Background with gradient colors. Background variable
BackgroundHatchedType of background: Hatched background.Background variable
BackgroundSolidType of background: Solid background.Background variable
BackgroundTransparentType of background: Transparent background. Background variable
copyBlacknessFills the Image control with blackdCopyBlt
copyDstInvertInverts the colors of the destination Image controldCopyBlt
copyImageCombines the source image with the destination image using the transparency information of the 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 the source Image control with the "pattern" of the destination Image control via the "Logical AND" methoddCopyBlt
copyNotSrcCopyInverts the colors of the source Image controldCopyBlt
copyNotSrcEraseInverts the combination between the source and the destination Image controls via the "OR" methoddCopyBlt
copyPatCopyCopies the "pattern" from the source Image control to the destination Image controldCopyBlt
copyPatInvertCombines the pattern of the source and destination Image controls via the "XOR" (Exclusive Or) methoddCopyBlt
copyPatPaintCombines the inverted source Image control with the "pattern" of the destination Image control via the "OR" methoddCopyBlt
copyScreenCopies the screendCopyBlt
copySrcAndCombines the pixels of the source and destination Image controls via the "AND" methoddCopyBlt
copySrcCopyCopies the source Image control to the destination Image control (simple copy)dCopyBlt
copySrcEraseInverts the destination Image control and combines the result with the copy of the source Image controldCopyBlt
copySrcInvertCombines the pattern of the source and destination Image controls via the "XOR" (Exclusive Or) methoddCopyBlt
copySrcPaintCombines the pixels of the source and destination Image controls via the "OR" methoddCopyBlt
copyWhitenessFills the Image control with whitedCopyBlt
dComponentBlueThe Blue component of image will be copied into the array.dImageToArray
dComponentGreenThe Green component of image will be copied into the array.dImageToArray
dComponentRedThe Red component of image will be copied into the array.dImageToArray
dComponentRGBAll image components will be copied into the array.dImageToArray
dDisplayAsynchronousIn browser code, used to optimize the drawing performance on an image. The drawing is displayed in the Image control once the user has finished their action. <Image>.StartDrawing,
<Image variable>.StartDrawing
dDisplayManualIn browser code, it delays the display of the drawing. The drawing will be displayed in the Image control after the call to dDisplay. <Image>.StartDrawing,
<Image variable>.StartDrawing
dEraseErases the drawing found in the Image control.<Image>.StartDrawing,
<Image variable>.StartDrawing
dGrayScaleThe 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 the drawing. The gridlines are not saved in the image.<Image>.StartDrawing,
<Image variable>.StartDrawing
dNoEraseDoes not erase the drawing found in the Image control.<Image>.StartDrawing,
<Image variable>.StartDrawing
dNoShadowShadow management mode: The shadow is not kept when the window is copied. dCopyWindowImage
dOnChartUsed to draw in an Image control in which a chart was already drawn. In this case, the chart drawing is not erased.<Image>.StartDrawing,
<Image variable>.StartDrawing
drAdaptRotation option: The image is flipped and enlarged. Then, its size is reduced to correspond to the initial image size.<Image>.Rotation,
<Image variable>.Rotation
drawAntiAliasingUses GDI+ to draw lines and circles without jagged effects. This mode is slower but the result is better than with the standard mode.<Image>.ChangeMode,
<Image variable>.ChangeMode
drawDefaultDrawing mode: Standard colors<Image>.ChangeMode,
<Image variable>.ChangeMode
drawXORDrawing mode: Colors applied using a "exclusive or" operation with the background. Erases a drawing if this option is used twice.<Image>.ChangeMode,
<Image variable>.ChangeMode
drDefaultRotation option: Enlarge the image (if necessary) so that it corresponds to the dimensions of rotated image.<Image>.Rotation,
<Image variable>.Rotation
drHighQualityResizing option: In homothetic mode, improves the quality of the image when this one is reduced in relation to its initial size<Image>.Resize,
<Image variable>.Resize
drHomotheticResizing 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.
<Image>.Resize,
<Image variable>.Resize
drHomotheticCenteredResizing 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.
<Image>.Resize,
<Image variable>.Resize
drHomotheticExtendedResizing option: The image is stretched or reduced in order for the smallest side of the image to be entirely displayed.<Image>.Resize,
<Image variable>.Resize
drNoEnlargingRotation option: The image is flipped but not enlarged<Image>.Rotation,
<Image variable>.Rotation
drStretchedResizing option: The image is stretched if necessary to fit the new specified width and height.<Image>.Resize,
<Image variable>.Resize
drTiledResizing option: The image is tiled to occupy the entire new specified width and the entire new specified height.<Image>.Resize,
<Image variable>.Resize
dWithOpacityAllows the opacity to be managed in the different drawing functions used by the Image control.<Image>.StartDrawing,
<Image variable>.StartDrawing
dWithShadowShadow management mode: The shadow is kept when the window is copied. dCopyWindowImage
gclDefaultStyle 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.gClickableLink
gclNoFontModifStyle of the text displayed in the link: The text of the link is displayed in the initial stylegClickableLink
HatchCrossedStyle of hatching: Criss-crossed hatching.Background variable
HatchCrossedDiagonalStyle of hatching: Diagonal crossed hatching. Background variable
HatchDiagonalStyle of hatching: Diagonal hatching at 60%.Background variable
HatchDiagonalBottomStyle of hatching: Diagonal hatching at 120%.Background variable
HatchHorizontalStyle of hatching: Horizontal hatching.Background variable
HatchNoneStyle of hatching: No hatching.Background variable
HatchVerticalStyle of hatching: Vertical hatching.Background variable
icoFormatBMPImage of the icon in BMP format.Icon variable
icoFormatPNGImage of icon in PNG format.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.
<Image>.SaveJPEG
imgBGR32Type of image buffer used: Image in 32-bit Blue Green Red format without alpha layer.dTransferToImage
imgBGRType of image buffer used: Image in 24-bit Blue Green Red formatdTransferToImage
imgBGRAType of image buffer used: Image in 32-bit Blue Green Red format with alpha layer.dTransferToImage
imgConvertMode 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.dLoadImage
imgDefaultMode for loading the image: Load the image as it is.dLoadImage
imgGrayScaleAllows you to save the image in black and white ("Grayscale" display mode)<Image>.SaveJPEG,
<Image variable>.SaveImageJPEG
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).<Image>.SaveJPEG,
<Image variable>.SaveImageJPEG
imgRGB32Type of image buffer used: Image in 32-bit Red Green Blue format without alpha layer.dTransferToImage
imgSaveTagSaves the Exif tags.
A new thumbnail is calculated if a thumbnail is found in the image file displayed in the Image control
<Image>.SaveJPEG,
<Image variable>.SaveImageJPEG
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment