OperatorCollection.Item
OperatorCollection indexer
Gets operator by its index.
public override Operator this[int index] { get; set; }
Parameter | Description |
---|---|
index | Index of operator. Numbering is starts from 1. |
Return Value
Operator from requested index
Examples
Example demonstrates how to get operator of page contents by index.
Document doc = new Document("input.pdf");
OperatorCollection oc = doc.Pages[1].Contents;
Operator first = oc[1];
See Also
- class Operator
- class OperatorCollection
- namespace Aspose.Pdf
- assembly Aspose.PDF