Size: IGxSizeF;
Size: Prognoz.Platform.Interop.Drawing.GxSizeF;
The Size property determines the size of the object, located on the table sheet.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Obj: ITabObject;
Size: IGxRectF;
SizeF: IGxSizeF;
Begin
Size := New gxrectf.Create(0, 0, 10, 10);
Obj := UiTabSheet1.TabSheet.Objects.Add("PrxPicture", Size);
(Obj As IPrxPicture).Image := GxImage.FromFile("c:\Image.bmp");
SizeF := Obj.Size;
End Sub Button1OnClick;
After executing the example the "c:\Image.bmp" image is created on the table sheet, after that the "SizeF" variable contains its size.
See also: