Updates PosX and PosY of all layers (or just selected if selectedOnly = True) to move them to a new position.
Namespace: HiComponents.IEvolutionAssembly: IEvolution2 (in IEvolution2.dll) Version: 10.1.0.0
Syntax
C# | Visual Basic | Visual C++ |
public void LayersRepositionAll( int moveX, int moveY, bool selectedOnly, bool sizing )
Public Sub LayersRepositionAll ( _ moveX As Integer, _ moveY As Integer, _ selectedOnly As Boolean, _ sizing As Boolean _ )
public: void LayersRepositionAll( int moveX, int moveY, bool selectedOnly, bool sizing )
Parameters
- moveX
- Int32
X offset. Special values: IEImage.IELayer_Pos_Left adjusts PosX so layer is aligned to the left of the background layer, IEImage.IELayer_Pos_HCenter adjusts PosX so layer is aligned to the horizontal center of the background layer, IEImage.IELayer_Pos_Right adjusts PosX so layer is aligned to the right of the background layer
- moveY
- Int32
Y offset. Special values: IEImage.IELayer_Pos_Top adjusts PosY so layer is aligned to the top of the background layer, IEImage.IELayer_Pos_VCenter adjusts PosY so layer is aligned to the vertical center of the background layer, IEImage.IELayer_Pos_Bottom adjusts PosY so layer is aligned to the bottom of the background layer
- selectedOnly
- Boolean
Only selected layers will be repositioned
- sizing
- Boolean
If Sizing is true then Layer is resized (top-left position does not move).