Finding Absolute Position of Shape in the Worksheet with Golang via C++
Contents
[
Hide
]
Sometimes, you need to know the absolute position of a shape in a worksheet. Aspose.Cells provides the Shape.GetLeftToCorner() and Shape.GetTopToCorner() properties for this purpose. These properties return the absolute position of the shape in the worksheet in pixels.
The following sample code displays the absolute position of the first shape in the worksheet in pixels. The sample code displays the following console output:
Absolute position of this shape is (320, 183)