Page History
...
The offset is applied after the image is positioned according to the CaptionAlignment is set.
This property is ignored if the Layout property is set to anything other than "Clip".
...
Code Block |
---|
// position the image 10 pixels from the top left Set_Property(@Window:".OLE_PICTURE", "OLE.Alignment", "Top":@FM:"Left") Set_Property(@Window:".OLE_PICTURE", "OLE.ImageOffset", "10":@FM:"10") // position the image 10 pixels from the bottom right Set_Property(@Window:".OLE_PICTURE", "OLE.Alignment", "Bottom":@FM:"Right") Set_Property(@Window:".OLE_PICTURE", "OLE.ImageOffset", "-10":@FM:"-10") |