I am fetching value/dimensions/size of a shape and text with following code :
For font size : IAutoShape iAutoShape = (IAutoShape) shape; iAutoShape.getTextFrame().getParagraphs().get_Item(0).getPortions().get_Item(0).getPortionFormat().getEffective().getFontHeight()
For shape height : shape.getHeight()
It works fine. I want to know two things :
Value/numbers which I am getting while fetching the font size belongs to which unit like pixel, cm, or inch, etc?
Value/numbers which I am getting while fetching the shape dimensions(Height, width, x, y) belongs to which unit like pixel, cm, or inch, etc?
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.