2,722
社区成员
发帖
与我相关
我的任务
分享
oWord = CREATEOBJECT("Word.Application")
WITH oWord
.Documents.Add
.Visible = .T.
WITH .ActiveDocument.PageSetup
.TopMargin = oWord.CentimetersToPoints(1.5) && 厘米转换为磅
.BottomMargin = oWord.CentimetersToPoints(2.0)
.LeftMargin = oWord.CentimetersToPoints(0.31)
.RightMargin = oWord.CentimetersToPoints(6.5)
.PageWidth = oWord.CentimetersToPoints(23.5)
.PageHeight = oWord.CentimetersToPoints(14)
.Orientation = 1 && 横向 0 纵向
.HeaderDistance = oWord.CentimetersToPoints(0.9)
.FooterDistance = oWord.CentimetersToPoints(0.75)
ENDWITH
ENDWITH