====== ALIGN property (Image) ====== ==== Description ==== Specifies the horizontal and vertical alignment of the image. {{Image_Align.png?412x100}} ==== Property Value ==== A numeric value that describes the position of the image within its parent object: ^Value^Description^ |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| ==== Property Traits ==== ^Development^Runtime^Indexed^Scaled^Synthetic^ |Get/Set|Get/Set|No|No|No| ==== Remarks ==== 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. ==== Example ==== // 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$ )