Aspose::Pdf::OperatorCollection class

OperatorCollection class

Class represents collection of operators.

class OperatorCollection : public Aspose::Pdf::BaseOperatorCollection,
                           public System::IDisposable

Methods

MethodDescription
Accept(const System::SharedPtr<IOperatorSelector>&)Accepts IOperatorSelector visitor object to process operators.
Add(const System::SharedPtr<Operator>&) overrideAdds new operator into collection.
Add(const System::ArrayPtr<System::SharedPtr<Operator>>&)Add operators at the end of the contents operators.
Add(const System::SharedPtr<System::Collections::Generic::ICollection<System::SharedPtr<Operator>>>&)Adds to collection all operators from other collection.
CancelUpdate() overrideCancels last update. This method may be called when the change should not raise contents update.
Clear() overrideRemoves all operators from list.
Contains(const System::SharedPtr<Operator>&) const overrideReturns true if the collection contains given operator.
CopyTo(System::ArrayPtr<System::SharedPtr<Operator>>, int32_t) overrideCopies operators into operators list.
Delete(int32_t)Deletes operator from collection.
Delete(const System::ArrayPtr<System::SharedPtr<Operator>>&)Deletes operators from collection.
Delete(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Operator>>>&)Deletes operators from collection.
Dispose() overridePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
get_Count() const overrideGets count of operators in the collection.
get_IsFastTextExtractionMode() const overrideIndicates wheather collection is limited to fast text extraction.
get_IsReadOnly() const overrideGets a value indicating whether the collection is read-only.
GetEnumerator() overrideReturns enumerator for collection.
idx_get(int32_t) overrideGets operator by its index.
idx_set(int32_t, System::SharedPtr<Operator>) overrideGets operator by its index.
Insert(int32_t, const System::SharedPtr<Operator>&) overrideInserts operator into collection.
Insert(int32_t, const System::ArrayPtr<System::SharedPtr<Operator>>&)Insert operators at the the given position.
Insert(int32_t, const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Operator>>>&)Insert operators at the the given position.
Remove(const System::SharedPtr<Operator>&) overrideRemove operator from the collection.
Replace(const System::SharedPtr<System::Collections::Generic::IList<System::SharedPtr<Operator>>>&)Replace operators in collection with other operators.
ResumeUpdate(bool)Resumes document update. Updates contents stream in case there are any pending changes. Marks all operators as “changed” if invalidate parameter is true.
ResumeUpdate() overrideResumes document update. Updates contents stream in case there are any pending changes.
SuppressUpdate() overrideSuppresses update contents data. The contents stream is not updated until ResumeUpdate is called.
ToString() const overrideReturns text representation of the operator.

See Also