tab_1.tabpage_8.ole_text.object.headerfooterselect(0)
tab_1.tabpage_8.ole_text.object.headerfooterselect(16)//切换到主体
tab_1.tabpage_8.ole_text.object.headerfooteractivate(0)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(0, tab_1.tabpage_8.ole_text.object.PageWidth)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(1, tab_1.tabpage_8.ole_text.object.PageHeight)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(2, tab_1.tabpage_8.ole_text.object.PageMarginL)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(3, tab_1.tabpage_8.ole_text.object.PageMarginT)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(4, tab_1.tabpage_8.ole_text.object.PageMarginR)
tab_1.tabpage_8.ole_text.object.LoadSaveAttribute(5, tab_1.tabpage_8.ole_text.object.PageMarginB)
tab_1.tabpage_8.ole_text.object.Save(Fn, 0, 3)
这上面这段代码是啥子意思啊。PB菜鸟求各位大神指导
------解决方案--------------------
设置 ole里要保存的图片的宽度和高度和目前显示的图形一致,下面几行是边距的设置,最后是保存