ShopToolsUtilCenteredLeft Method
Return the left coordinate of an object centered within an area.
Namespace: ShopToolsAssembly: ShopTools (in ShopTools.exe) Version: 25.2429.4649
public static int CenteredLeft(
int areaWidth,
int objectWidth
)
Public Shared Function CenteredLeft (
areaWidth As Integer,
objectWidth As Integer
) As Integer
No code example is currently available or this language may not be supported.
- areaWidth Int32
-
Width of the area in which the object is centered.
- objectWidth Int32
-
Width of the object to be placed.
Int32
The left coordinate of the centered object.