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