首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 开发语言 > PB >

PB求指点。存sql image列,跪求各路大神

2013-12-23 
PB求指导。存sql image列,跪求各路大神tab_1.tabpage_8.ole_text.object.headerfooterselect(0)tab_1.tabpa

PB求指导。存sql image列,跪求各路大神
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菜鸟求各位大神指导
[解决办法]

引用:
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里要保存的图片的宽度和高度和目前显示的图形一致,下面几行是边距的设置,最后是保存

热点排行