Gets the center of this object. The coordinate space of the center point
is determined by the parentTransform parameter.
Namespace: Ico.GwxAssembly: GwxConfigCore (in GwxConfigCore.dll) Version: 10.97.212.0 (10.97.212.00)
Syntax
C# |
---|
public Point GetCenter(
Transform parentTransform
) |
Visual Basic |
---|
Public Function GetCenter ( _
parentTransform As Transform _
) As Point |
JScript |
---|
public function GetCenter(
parentTransform : Transform
) : Point |
Parameters
- parentTransform
- Type: System.Windows.Media..::..Transform
Usually the RootTransform or DeviceTransform of the parent of this object.
Return Value
The center of this object.
See Also