[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.OperatorList

Class OperatorList

Namespace
GrapeCity.Documents.Pdf.Operators
Assembly
GcDocs.Pdf.dll

The collection of OperatorBase objects.

public class OperatorList : List<OperatorBase>, IList<OperatorBase>, ICollection<OperatorBase>, IList, ICollection, IReadOnlyList<OperatorBase>, IReadOnlyCollection<OperatorBase>, IEnumerable<OperatorBase>, IEnumerable
Inheritance
object
System.Collections.Generic.List<T><OperatorBase>
OperatorList
Implements
System.Collections.Generic.IList<T><OperatorBase>
System.Collections.Generic.ICollection<T><OperatorBase>
System.Collections.IList
System.Collections.ICollection
System.Collections.Generic.IReadOnlyList<T><OperatorBase>
System.Collections.Generic.IReadOnlyCollection<T><OperatorBase>
System.Collections.Generic.IEnumerable<T><OperatorBase>
System.Collections.IEnumerable
Inherited Members
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Add(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.AddRange(System.Collections.Generic.IEnumerable<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.AsReadOnly()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.BinarySearch(int, int, GrapeCity.Documents.Pdf.Operators.OperatorBase, System.Collections.Generic.IComparer<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.BinarySearch(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.BinarySearch(GrapeCity.Documents.Pdf.Operators.OperatorBase, System.Collections.Generic.IComparer<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Clear()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Contains(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.ConvertAll<TOutput>(System.Converter<GrapeCity.Documents.Pdf.Operators.OperatorBase, TOutput>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.CopyTo(GrapeCity.Documents.Pdf.Operators.OperatorBase[])
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.CopyTo(int, GrapeCity.Documents.Pdf.Operators.OperatorBase[], int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.CopyTo(GrapeCity.Documents.Pdf.Operators.OperatorBase[], int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Exists(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Find(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindAll(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindIndex(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindIndex(int, System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindIndex(int, int, System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindLast(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindLastIndex(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindLastIndex(int, System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.FindLastIndex(int, int, System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.ForEach(System.Action<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.GetEnumerator()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.GetRange(int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.IndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.IndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.IndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase, int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Insert(int, GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.InsertRange(int, System.Collections.Generic.IEnumerable<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.LastIndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.LastIndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.LastIndexOf(GrapeCity.Documents.Pdf.Operators.OperatorBase, int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Remove(GrapeCity.Documents.Pdf.Operators.OperatorBase)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.RemoveAll(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.RemoveAt(int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.RemoveRange(int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Reverse()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Reverse(int, int)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Sort()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Sort(System.Collections.Generic.IComparer<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Sort(int, int, System.Collections.Generic.IComparer<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Sort(System.Comparison<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.ToArray()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.TrimExcess()
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.TrueForAll(System.Predicate<GrapeCity.Documents.Pdf.Operators.OperatorBase>)
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Capacity
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.Count
System.Collections.Generic.List<GrapeCity.Documents.Pdf.Operators.OperatorBase>.this[int]
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()

Constructors

OperatorList()

public OperatorList()

Methods

Build(Page, RectangleF, ViewState, float, float, bool, bool)

Creates the OperatorList object from page's content stream.

public static OperatorList Build(Page page, RectangleF bounds, ViewState viewState, float dpiX, float dpiY, bool ignoreErrors, bool includeTextPosition)

Parameters

page Page

The Page object.

bounds System.Drawing.RectangleF

The draw bounds.

viewState ViewState

The ViewState object.

dpiX float

The horizontal resolution.

dpiY float

The vertical resolution.

ignoreErrors bool

Indicates whether to ignore errors in PDF content stream during rendering.

includeTextPosition bool

Indicates whether to include information about position of text in content stream into PDF operators.

Returns

OperatorList

The created OperatorList object.

Build(Page, RectangleF, ViewState, float, float, bool)

Creates the OperatorList object from page's content stream.

public static OperatorList Build(Page page, RectangleF bounds, ViewState viewState, float dpiX, float dpiY, bool ignoreErrors)

Parameters

page Page

The Page object.

bounds System.Drawing.RectangleF

The draw bounds.

viewState ViewState

The ViewState object.

dpiX float

The horizontal resolution.

dpiY float

The vertical resolution.

ignoreErrors bool

Indicates whether to ignore errors in PDF content stream during rendering.

Returns

OperatorList

The created OperatorList object.

Build(Page, RectangleF, float, float, bool)

Creates the OperatorList object from page's content stream.

public static OperatorList Build(Page page, RectangleF bounds, float dpiX, float dpiY, bool ignoreErrors)

Parameters

page Page

The Page object.

bounds System.Drawing.RectangleF

The draw bounds.

dpiX float

The horizontal resolution.

dpiY float

The vertical resolution.

ignoreErrors bool

Indicates whether to ignore errors in PDF content stream during rendering.

Returns

OperatorList

The created OperatorList object.

Build(Page, float, float, bool, bool)

Creates the OperatorList object from page's content stream. The page bounds calculated using GetRenderSize(float, float) method.

public static OperatorList Build(Page page, float dpiX, float dpiY, bool ignoreErrors, bool includeTextPosition)

Parameters

page Page

The Page object.

dpiX float

The horizontal resolution.

dpiY float

The vertical resolution.

ignoreErrors bool

Indicates whether to ignore errors in PDF content stream during rendering.

includeTextPosition bool

Indicates whether to include information about position of text in content stream into PDF operators.

Returns

OperatorList

The created OperatorList object.

Build(Page, float, float, bool)

Creates the OperatorList object from page's content stream. The page bounds calculated using GetRenderSize(float, float) method.

public static OperatorList Build(Page page, float dpiX, float dpiY, bool ignoreErrors)

Parameters

page Page

The Page object.

dpiX float

The horizontal resolution.

dpiY float

The vertical resolution.

ignoreErrors bool

Indicates whether to ignore errors in PDF content stream during rendering.

Returns

OperatorList

The created OperatorList object.

Enumerate(IList<OperatorBase>, Func<PdfOperatorPosition, OperatorBase, bool>)

Enumerates the list of operators, calls the callbackMethod method for each operator.

public static bool Enumerate(IList<OperatorBase> operators, Func<PdfOperatorPosition, OperatorBase, bool> callbackMethod)

Parameters

operators System.Collections.Generic.IList<T><OperatorBase>

The list of operators to enumerate.

callbackMethod System.Func<T1, T2, TResult><PdfOperatorPosition, OperatorBase, bool>

The callback method.

Returns

bool

true if all operators were enumerated; false if callback method returns false for some operator.

Flat()

Returns the OperatorList object containing all operators of this OperatorList including nested operators of DoFormXObject.

public OperatorList Flat()

Returns

OperatorList

GetOperator(PdfOperatorPosition, out OperatorList, out int)

Fetches the OperatorList and the index in it for a specified PDF operator position.

public bool GetOperator(PdfOperatorPosition pop, out OperatorList ol, out int olIndex)

Parameters

pop PdfOperatorPosition

The PDF operator position.

ol OperatorList

OUT: The OperatorList containing operator with the specified index.

olIndex int

OUT: The index in ol.

Returns

bool

true if pop defines a valid index and ol and olIndex contain valid values.