Size: IGxSizeF;
The Size property determines the size of the real rectangle.
Sub Button1OnClick(Sender: Object; Args: IMouseEventArgs);
Var
Obj: ITabObject;
RectF: IGxRectF;
SizeF: IGxSizeF;
Begin
RectF:=New GxRectF.Create(20.55,20.45,34.68,36.7);
Obj:=UiTabSheet1.TabSheet.Objects.Add("PrxPicture", RectF);
(Obj As IPrxPicture).Image:=GxImage.FromFile("c:\1.bmp");
SizeF:=Obj.Size;
End Sub Button1OnClick;
After executing the example clicking the button creates an image in the regular report. The image source is the 1.bmp file. The SizeF variable contains the size of the rectangle, with which the image is bound.
See also: