Click or drag to resize

PdfImageManager Class

The resource manager for images
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.Generating.ResourceHandlingPdfResourceManagerPdfImageResource
    Atalasoft.PdfDoc.Generating.ResourceHandling.ImagesPdfImageManager

Namespace:  Atalasoft.PdfDoc.Generating.ResourceHandling.Images
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.0.0.0.0.297 (.NET 4.5.2, x86)
Syntax
public class PdfImageManager : PdfResourceManager<PdfImageResource>

The PdfImageManager type exposes the following members.

Constructors
  NameDescription
Public methodPdfImageManager
Initializes a new instance of the PdfImageManager class.
Top
Properties
  NameDescription
Public propertyCompressionSelector
Gets or sets the compression selector.
Public propertyCompressors
Gets the compressors.
Public propertyDctQuality
Gets or sets the DCT quality.
Public propertyItem
Gets the resource with the specified s.
(Inherited from PdfResourceManagerT.)
Public propertyJpxQuality
Gets or sets the JPX quality.
Protected propertyResourceClass
Gets the resource class.
(Overrides PdfResourceManagerTResourceClass.)
Public propertyCode exampleResourceNames
Gets the resource names for this resource manager.
Examples
foreach (string name in globalResources.Images.ResourceNames) {
    Console.WriteLine("resource name: " + name);
}
(Inherited from PdfResourceManagerT.)
Public propertyStreamProvider
Gets or sets the stream provider.
Top
Methods
  NameDescription
Public methodCode exampleAdd(T)
Adds the specified resource with an auto-generated name.
(Inherited from PdfResourceManagerT.)
Public methodCode exampleAdd(String, T)
Adds a resource to the resource manager. Throws ArgumentException if a resource with the same name is already present.
(Inherited from PdfResourceManagerT.)
Public methodAddImage(Object)
Adds the image.
Public methodAddImage(Object, String)
Adds the image.
Public methodAddImage(String, Object)
Adds the image.
Public methodAddImage(String, Object, String)
Adds the image.
Public methodContains
Determines whether or not the resource is present.
(Inherited from PdfResourceManagerT.)
Public methodDispose
Disposes all resources contained in this resource manager
(Inherited from PdfResourceManagerT.)
Protected methodDispose(Boolean)
Releases unmanaged and - optionally - managed resources
(Inherited from PdfResourceManagerT.)
Protected methodDisposeManagedResources
Disposes the managed resources.
(Inherited from PdfResourceManagerT.)
Protected methodDisposeUnmanagedResources
Disposes the unmanaged resources.
(Inherited from PdfResourceManagerT.)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize (Inherited from PdfResourceManagerT.)
Public methodFromImage(Object)
Froms the image.
Public methodFromImage(Object, String)
Froms the image.
Public methodCode exampleGet
Gets a resource with the given name. Throws an exception if there is no resource present with that name.
(Inherited from PdfResourceManagerT.)
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.
(Inherited from PdfResourceManagerT.)
Public methodNextName
Returns the next available auto-generated name for this resource.
string name = someResourceManager.NextName();
someResourceManager.Add(name, someResource);
(Inherited from PdfResourceManagerT.)
Public methodCode exampleRemove
Removes the resource of the specified name. Throws an ArgumentException if name is not present.
(Inherited from PdfResourceManagerT.)
Protected methodResourcesMatch
Compares two PDF Image resources for equality.
(Overrides PdfResourceManagerTResourcesMatch(T, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodCode exampleTryGet
Tries to get the specified resource.
(Inherited from PdfResourceManagerT.)
Top
See Also