Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The offset is applied after the caption is positioned according to the CaptionAlignment is set.

Example

Code Block
// position the caption 10 pixels from the top left 
Set_Property(@Window:".OLE_PICTURE", "OLE.CaptionAlignment", "Top":@FM:"Left") 
Set_Property(@Window:".OLE_PICTURE", "OLE.CaptionOffset", "10":@FM:"10") 

// position the caption 10 pixels from the bottom right 
Set_Property(@Window:".OLE_PICTURE", "OLE.CaptionAlignment", "Bottom":@FM:"Right") 
Set_Property(@Window:".OLE_PICTURE", "OLE.CaptionOffset", "-10":@FM:"-10")

See Also

ImageOffsetCaptionAlignment