IdxRichEditDocumentImage.SetSize(TdxSizeF) Method
Resizes the inline image.
Declaration
procedure SetSize(const Value: TdxSizeF);
Parameters
Name | Type |
---|---|
Value | TdxSizeF |
Remarks
Call this procedure and pass new dimensions as the Value parameter to change the inline image’s size within the parent document. The procedure also divides:
Value.Width by OriginalSize.Width and assigns the quotient to the ScaleX property;
Value.Height by OriginalSize.Height and assigns the quotient to the ScaleY property.
The SetSize procedure is the Size property’s setter.
See Also