IdxRichEditDocumentImage.SetSize(TdxSizeF) Method
In This Article
Resizes the inline image.
#Declaration
Delphi
procedure SetSize(const Value: TdxSizeF);
#Parameters
Name | Type |
---|---|
Value | Tdx |
#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