Bud*_*hiP 5 openxml openxml-sdk
在OpenXML中用于指定大小或X,Y坐标的测量单位是什么?(介绍).
将那些与像素匹配是否有意义,如果是这样,那些转换为像素的那些怎么样?
graphicFrame.Transform = new Transform(new Offset(){X = 1650609L,Y = 4343400L},new Extents {Cx = 6096000L,Cy = 741680L});
在上面的代码X设置为1650609单位?它们是什么单位?
Bud*_*hiP 11
它们被称为EMU(英制公制单位)
http://en.wikipedia.org/wiki/English_Metric_Unit#DrawingML
http://polymathprogrammer.com/2009/10/22/english-metric-units-and-open-xml/
1pt = 12,700 EMU
另外如此解释1px = ~9525EMU
http://openxmldeveloper.org/discussions/formats/f/15/p/396/933.aspx