[]
        
(Showing Draft Content)

GrapeCity.Documents.Pdf.Operators.PdfOperatorPosition

PdfOperatorPosition Struct

Represents the position of an operator in a content stream.

Namespace: GrapeCity.Documents.Pdf.Operators
Assembly: DS.Documents.Pdf.dll
Syntax
public struct PdfOperatorPosition : IEquatable<PdfOperatorPosition>
Public Structure PdfOperatorPosition
    Implements IEquatable(Of PdfOperatorPosition)

Fields

Name Description
Empty

The empty position;

Index

The index in a content stream. In most cases the Index will have one element, the position of the operator in the page (the "root") content stream. If the operator is in the content stream of form XObject used in the page content stream then Index will contain 2 elements: 0 - index of "Do" operator used to render form XObject in the page content stream 1 - index of the operator in the form XObject content stream.

Properties

Name Description
IsEmpty

Gets a value indicating whether this position is empty.

Length

Gets the length of Index.

Methods

Name Description
Clone()
Compare(PdfOperatorPosition, PdfOperatorPosition)

Compares two PdfOperatorPosition objects.

Create(int)

Create the PdfOperatorPosition with index of specified length.

Equals(PdfOperatorPosition)

Determines whether two PdfOperatorPosition instances are equal.

Equals(object)

Determines whether the specified object is equal to the current object.

GetHashCode()

Returns a hash code for the current object.

Inc()

Increments the index.

Inc(int)

Increments the index on specified value.

Inc(int, int)

Increments the index on specified value.

IsSameContentStreamWith(PdfOperatorPosition)

Checks whether a specified PdfOperatorPosition points to the same content stream as current PdfOperatorPosition.

Pop()

Ends level.

Push()

Starts new level.

ToString()
TryParse(string, out PdfOperatorPosition)

Tries to parse the PdfOperatorPosition from the string.

Operators