Click or drag to resize

PdfResourceManagerT Methods

The PdfResourceManagerT generic type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAdd(T)
Adds the specified resource with an auto-generated name.
Public methodCode exampleAdd(String, T)
Adds a resource to the resource manager. Throws ArgumentException if a resource with the same name is already present.
Public methodContains
Determines whether or not the resource is present.
Public methodDispose
Disposes all resources contained in this resource manager
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
Protected methodDisposeManagedResources
Disposes the managed resources.
Protected methodDisposeUnmanagedResources
Disposes the unmanaged resources.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodCode exampleGet
Gets a resource with the given name. Throws an exception if there is no resource present with that name.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodMerge
Merges the set of resources, other, into this ResourceManager using the selector to resolve name conflicts.
Public methodNextName
Returns the next available auto-generated name for this resource.
string name = someResourceManager.NextName();
someResourceManager.Add(name, someResource);
Public methodCode exampleRemove
Removes the resource of the specified name. Throws an ArgumentException if name is not present.
Protected methodResourcesMatch
Compares two resources for equality. Default implementation returns false. Subclasses should override this method
Protected methodThrowIfDisposed
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleTryGet
Tries to get the specified resource.
Top
See Also