PDFsharp-net6

CArray

Namespace: PdfSharp.Pdf.Content.Objects

Represents an array of objects in a PDF content stream.

public class CArray : CSequence, System.ICloneable, System.Collections.Generic.IList`1[[PdfSharp.Pdf.Content.Objects.CObject, PdfSharp, Version=0.1.3.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.ICollection`1[[PdfSharp.Pdf.Content.Objects.CObject, PdfSharp, Version=0.1.3.0, Culture=neutral, PublicKeyToken=null]], System.Collections.Generic.IEnumerable`1[[PdfSharp.Pdf.Content.Objects.CObject, PdfSharp, Version=0.1.3.0, Culture=neutral, PublicKeyToken=null]], System.Collections.IEnumerable

Inheritance ObjectCObjectCSequenceCArray
Implements ICloneable, IList<CObject>, ICollection<CObject>, IEnumerable<CObject>, IEnumerable

Properties

Item

public CObject Item { get; set; }

Property Value

CObject

Count

Gets the number of elements contained in the sequence.

public int Count { get; }

Property Value

Int32

Constructors

CArray()

public CArray()

Methods

Clone()

Creates a new object that is a copy of the current instance.

public CArray Clone()

Returns

CArray

Copy()

Implements the copy mechanism of this class.

protected CObject Copy()

Returns

CObject

ToString()

Returns a string that represents the current value.

public string ToString()

Returns

String

WriteObject(ContentWriter)

internal void WriteObject(ContentWriter writer)

Parameters

writer ContentWriter