SetIndFirstLine

SetIndFirstLine(nValue)

继承发件人 :ApiParaPr#SetIndFirstLine

设置段首行缩进

参数:

名称 类型 描述性
svalue语言 树枝

第一行缩进值以点数20s测量(1/1440英吋)。

返回时间 :

方法不返回数据

实例

拷贝代码
builder.CreateFile("pptx")!varoPresentation=api.GetpresentationvaroSlide=oPresentation.getSlideByIndex0oSlide.RemoveAllObjects()!Var OGs1 = Api.CreateGradientStopVar OGS2 = Api.CreateGradient StopvaroFinll =api.CriateRadialGratientFillvarostroke=api.CreatestrokeVar Oshape = Api.CreateShapeoShape.SetPosition(608400, 1267200)!varoccontent=oshape.getdoccontentvarodente=occontent.getEplement0oclipse.adText)odtext ("这些句子用来添加线程表示目的)odtext ("这些句子用来添加线程表示目的)odtext(“这些句子用于添加线程表示目的”)oParagraph.SetIndFirstLine(1440)!odeptes = Api.Createlementsocept.adText)odtext ("这些句子用来添加线程表示目的)odtext(“这些句子用于添加线程表示目的”)oDocContent.Push(oParagraph)!oSlide.AddObject(oShape)!builder.SaveFile("pptx", "SetIndFirstLine.pptx")!builder.CloseFile();

结果文档