oi10:presentation_server:align_property_image

ALIGN property (Image)

Specifies the horizontal and vertical alignment of the image.

A numeric value that describes the position of the image within its parent object:

ValueDescription
0 Top-Left
1 Top Center
2 Top-Right
3 Center-Left
4 Centered
5 Center-Right
6 Bottom-Left
7 Bottom-Center
8 Bottom-Right
DevelopmentRuntimeIndexedScaledSynthetic
Get/SetGet/SetNoNoNo

The ALIGN property is ignored if either of these conditions are met:

• If the ORIGIN property is set to a value other than (0,0)

• If the STYLE property is set to any value other than "Clip" (0).

Equated constants for the ALIGN property can be found in the PS_EQUATES insert record.

 
// Set the alignment of the background image for the PNL_MAIN control

   $Insert PS_Equates

   Call Set_Property_Only( @Window : "PNL_MAIN.IMAGE", "ALIGN", 

                           PS_IA_BOTTOMRIGHT$ )
 
 
 

Image ORIGIN property, Image STYLE property.

  • oi10/presentation_server/align_property_image.txt
  • Last modified: 2023/10/25 10:49
  • by 127.0.0.1