Hi !
I want to get width and height of a picture on my word document.
My picture is into a Shape or InlineShape object :
shapes = doc.GetChildNodes(NodeType.Shape, true);
foreach (Shape shape in shapes)
{
// Si c’est une image dans le corps du document
if (shape.ImageFormat != null && shape.GetAncestor(typeof(Body)) != null)
{
…
shape.ImageFormat.InitialHeight ???
}
}
Can I’ve got width and height of my picture ? And specially the initial size.
Thanks
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.