PdfSharp-GDI
1.31.7289
|
Represents a sequence of objects in a PDF content stream. More...
Public Member Functions | |
new CSequence | Clone () |
Creates a new object that is a copy of the current instance. More... | |
void | Add (CSequence sequence) |
Adds the specified sequence. More... | |
void | Add (CObject value) |
Adds the specified value add the end of the sequence. More... | |
void | Clear () |
Removes all elements from the sequence. More... | |
bool | Contains (CObject value) |
Determines whether the specified value is in the sequence. More... | |
int | IndexOf (CObject value) |
Returns the index of the specified value in the sequence or -1, if no such value is in the sequence. More... | |
void | Insert (int index, CObject value) |
Inserts the specified value in the sequence. More... | |
bool | Remove (CObject value) |
Removes the specified value from the sequence. More... | |
void | RemoveAt (int index) |
Removes the value at the specified index from the sequence. More... | |
void | CopyTo (CObject[] array, int index) |
Copies the elements of the sequence to the specified array. More... | |
IEnumerator< CObject > | GetEnumerator () |
Returns an enumerator that iterates through the sequence. More... | |
byte[] | ToContent () |
Converts the sequence to a PDF content stream. More... | |
override string | ToString () |
Returns a string containing all elements of the sequence. More... | |
![]() | |
CObject | Clone () |
Creates a new object that is a copy of the current instance. More... | |
Protected Member Functions | |
override CObject | Copy () |
Implements the copy mechanism of this class. More... | |
![]() | |
CObject () | |
Initializes a new instance of the CObject class. More... | |
Properties | |
CObject | this[int index] [get, set] |
Gets or sets a CObject at the specified index. More... | |
int | Count [get] |
Gets the number of elements contained in the sequence. More... | |
Represents a sequence of objects in a PDF content stream.
void PdfSharp.Pdf.Content.Objects.CSequence.Add | ( | CObject | value | ) |
Adds the specified value add the end of the sequence.
void PdfSharp.Pdf.Content.Objects.CSequence.Add | ( | CSequence | sequence | ) |
Adds the specified sequence.
sequence | The sequence. |
void PdfSharp.Pdf.Content.Objects.CSequence.Clear | ( | ) |
Removes all elements from the sequence.
new CSequence PdfSharp.Pdf.Content.Objects.CSequence.Clone | ( | ) |
Creates a new object that is a copy of the current instance.
bool PdfSharp.Pdf.Content.Objects.CSequence.Contains | ( | CObject | value | ) |
Determines whether the specified value is in the sequence.
|
protectedvirtual |
Implements the copy mechanism of this class.
Reimplemented from PdfSharp.Pdf.Content.Objects.CObject.
Reimplemented in PdfSharp.Pdf.Content.Objects.CArray.
void PdfSharp.Pdf.Content.Objects.CSequence.CopyTo | ( | CObject[] | array, |
int | index | ||
) |
Copies the elements of the sequence to the specified array.
IEnumerator<CObject> PdfSharp.Pdf.Content.Objects.CSequence.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the sequence.
int PdfSharp.Pdf.Content.Objects.CSequence.IndexOf | ( | CObject | value | ) |
Returns the index of the specified value in the sequence or -1, if no such value is in the sequence.
void PdfSharp.Pdf.Content.Objects.CSequence.Insert | ( | int | index, |
CObject | value | ||
) |
Inserts the specified value in the sequence.
bool PdfSharp.Pdf.Content.Objects.CSequence.Remove | ( | CObject | value | ) |
Removes the specified value from the sequence.
void PdfSharp.Pdf.Content.Objects.CSequence.RemoveAt | ( | int | index | ) |
Removes the value at the specified index from the sequence.
byte [] PdfSharp.Pdf.Content.Objects.CSequence.ToContent | ( | ) |
Converts the sequence to a PDF content stream.
override string PdfSharp.Pdf.Content.Objects.CSequence.ToString | ( | ) |
Returns a string containing all elements of the sequence.
|
get |
Gets the number of elements contained in the sequence.
|
getset |
Gets or sets a CObject at the specified index.