Item

OperatorCollection indexer

通过索引获取运算符。

public override Operator this[int index] { get; set; }
范围描述
index运算符索引。编号从 1 开始。

返回值

来自请求索引的运算符

例子

示例演示如何通过索引获取页面内容的运算符。

Document doc = new Document("input.pdf");
OperatorCollection oc = doc.Pages[1].Contents;
Operator first = oc[1];

也可以看看