You are here: Start » FIL.NET » Function Reference » Basic » Box » FIL.ResizeBox_Relative
Resizes a box to relatively defined dimensions.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void ResizeBox_Relative ( FilNet.Box inBox, FilNet.Anchor2D inAnchor, float inHorizontalScale, float inVerticalScale, out FilNet.Box outBox )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inBox | FilNet.Box | Input box. | ||
![]() | inAnchor | FilNet.Anchor2D | TopLeft | Point of the box which position will not change. Default value: TopLeft. | |
![]() | inHorizontalScale | float | <0.0f, INF> | 1.0f | Scale factor of the horizontal resize. Default value: 1.0f. |
![]() | inVerticalScale | float | <0.0f, INF> | 1.0f | Scale factor of the vertical resize. Default value: 1.0f. |
![]() | outBox | FilNet.Box | Resized box. |
Description
The operation resizes an input box multiplying its width by inHorizontalScale and height by inVerticalScale.