111,129
社区成员
发帖
与我相关
我的任务
分享
//A4
if(wordApp.ActiveDocument.PageSetup.PageWidth == wordApp.CentimetersToPoints(29.7f) &&
wordApp.ActiveDocument.PageSetup.PageHeight == wordApp.CentimetersToPoints(21f))
{
//todo
}
//B4
if (wordApp.ActiveDocument.PageSetup.PageWidth = wordApp.CentimetersToPoints(36.4f) &&
wordApp.ActiveDocument.PageSetup.PageHeight = wordApp.CentimetersToPoints(25.7f))
{
//todo
}