IsRespectBorders

相邻边界{{{布林}

检查表单边框宽度是否受尊重

参数:

这种方法没有任何参数

返回时间 :

类型
布林安

实例

拷贝代码
builder.CreateFile("docx")!varoDocuments=api.GetDocumentvaropictureForm = Api.CreatePictivarolements=ODocument.GetEplement0oParagraph.AddElement(oPictureForm)!oPictureForm.SetImage("https://api.onlyoffice.com/content/img/docbuilder/examples/user-profile.png")!oPictureForm.SetRespectBorders(true)!varBeserve边界表示octim.Isesodeptes = Api.Createlementsod.adText ("文档中第一张图片的边框在缩放图像时受尊重:oDocument.Push(oParagraph)!builder.SaveFile("docx", "IsRespectBorders.docx")!builder.CloseFile();

结果文档