PdfTemplateManager Class |
Namespace: Atalasoft.PdfDoc.Generating.ResourceHandling.Templates
The PdfTemplateManager type exposes the following members.
Name | Description | |
---|---|---|
PdfTemplateManager |
Initializes a new empty instance of the PdfTemplateManager class.
|
Name | Description | |
---|---|---|
Item |
Gets the resource with the specified s.
(Inherited from PdfResourceManagerT.) | |
ResourceClass |
Gets the resource class. Returns Templates.
(Overrides PdfResourceManagerTResourceClass.) | |
ResourceNames |
Gets the resource names for this resource manager.
(Inherited from PdfResourceManagerT.)Examples foreach (string name in globalResources.Images.ResourceNames) { Console.WriteLine("resource name: " + name); } |
Name | Description | |
---|---|---|
Add(T) |
Adds the specified resource with an auto-generated name.
(Inherited from PdfResourceManagerT.) | |
Add(DrawingTemplate) |
Adds the specified template.
| |
Add(String, T) |
Adds a resource to the resource manager. Throws ArgumentException if a resource with the same name is already present.
(Inherited from PdfResourceManagerT.) | |
Add(String, DrawingTemplate) |
Adds the specified template, using the provided name.
| |
Contains |
Determines whether or not the resource is present.
(Inherited from PdfResourceManagerT.) | |
Dispose |
Disposes all resources contained in this resource manager
(Inherited from PdfResourceManagerT.) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources
(Inherited from PdfResourceManagerT.) | |
DisposeManagedResources |
Disposes the managed resources.
(Inherited from PdfResourceManagerT.) | |
DisposeUnmanagedResources |
Disposes the unmanaged resources.
(Inherited from PdfResourceManagerT.) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the
PdfResourceManagerT is reclaimed by garbage collection.
(Inherited from PdfResourceManagerT.) | |
Get |
Gets a resource with the given name. Throws an exception if there is no resource present with that name.
(Inherited from PdfResourceManagerT.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Merge |
Merges the set of resources, other, into this ResourceManager using the selector to resolve name conflicts.
(Inherited from PdfResourceManagerT.) | |
NextName |
Returns the next available auto-generated name for this resource.
(Inherited from PdfResourceManagerT.)string name = someResourceManager.NextName();
someResourceManager.Add(name, someResource); | |
Remove |
Removes the resource of the specified name. Throws an ArgumentException if name is not present.
(Inherited from PdfResourceManagerT.) | |
ResourcesMatch |
Compares two resources for equality. Default implementation returns false. Subclasses should override this method
(Overrides PdfResourceManagerTResourcesMatch(T, T).) | |
ThrowIfDisposed | (Inherited from PdfResourceManagerT.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGet |
Tries to get the specified resource.
(Inherited from PdfResourceManagerT.) |