Skip to main content

DocumentResourceList

Version: 11.0

cete.dynamicpdf.io.documentresourcelist

DocumentResourceList​

Represents a collection of resources for a document.

public class DocumentResourceList
Public Class DocumentResourceList

Inheritance: Object → DocumentResourceList

Properties​

CurrentObjectNumber​

Gets the current object number of the next resource.

public int CurrentObjectNumber { get; }
Public Property CurrentObjectNumber As Int32

Property Value​

Int32

Methods​

Add(Resource)​

Adds a resource to the document.

public int Add(Resource resource)
Function Add(resource As Resource) As Integer

Parameters​

The resource to add.

Returns​

The PDF object number of the added resource.

AddUnique(Resource)​

Adds a unique resource to the document.

public int AddUnique(Resource resource)
Function AddUnique(resource As Resource) As Integer

Parameters​

The resource to add.

Returns​

The PDF object number of the added resource.

Equals(Object)​

Determines whether the specified Object is equal to the current Object . (Inherited from Object)

public bool Equals(Object obj)
Function Equals(obj As Object) As Boolean

Parameters​

The Object to compare with the current Object .

Returns​

true if the specified Object is equal to the current Object ; otherwise, false.

GetHashCode()​

Serves as a hash function for a particular type. (Inherited from Object)

public int GetHashCode()
Function GetHashCode() As Integer

Returns​

A hash code for the current Object .

GetType()​

Gets the Type of the current instance. (Inherited from Object)

public Type GetType()
Function GetType() As Type

Returns​

The Type instance that represents the exact runtime type of the current instance.

ToString()​

Returns a String that represents the current Object . (Inherited from Object)

public string ToString()
Function ToString() As String

Returns​

A String that represents the current Object .

See Also​

ceTe.DynamicPDF.IO