设置布局

SetPatets(nLeft,nTop,nRight,nBottom)

设置文本嵌入当前形状

参数:

名称 类型 描述性
左转 EMU系统

左踏板

NTop EMU系统

顶顶板

右转 EMU系统

右滑板

NBOTOM EMU系统

底板搭建

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvarolements=ODocument.GetEplement0varoFinll =api.CreateSolidFillvarostroke=api.CreatestrokevaroDrawing=api.CreateShapeoParagraph.AddDrawing(oDrawing)!varoccontent=odrawing.getdoccontentodeptes = Api.CreatelementsoddText ("这是带嵌入板的样本文本.")oDocContent.Push(oParagraph)!ODrawing.SetPaptings(20*36000,5*36000,5*36000,3*3360)builder.SaveFile("docx", "SetPaddings.docx")!builder.CloseFile();

结果文档