The caption's alignment within the hyperlink's bounds.

Usage

Set_Property(OLECtrlEntID, "OLE.Alignment", Array)

Values

Array has the following structure:

PosNameTypeDescriptionDefault
<1>Vertical AlignmentOptionAligns the caption vertically: top, center, or bottom of the controlCenter
<2>Horizontal AlignmentOptionAligns the caption horizontally: Left, Right, or Center of the controlLeft

Remarks

The Alignment property aligns the caption along any edge of the control. This multivalued property has two fields: vertical alignment and horizontal alignment. Possible values for vertical alignment are:

ValueAbbr.Description
TopTPlaces caption along the top of the control
CenterCPlaces caption in the vertical center of the control
BottomBPlaces caption along the bottom of the control

Possible values for horizontal alignment are:

ValueAbbr.Description
LeftLPlaces caption along the left side of the control
CenterCPlaces caption in the horizontal center of the control
RightRPlaces caption along the right side of the control

The following example demonstrates top-left alignment:

Example

// Align the caption along the control's top left sides 
Set_Property(@Window:".OLE_HYPERLINK", "OLE.Alignment", "Top":@FM:"Left")
  • No labels