Finding Absolute Position of Shape inside 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 inside 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)