Click or drag to resize

PdfColorSpaceManager Class

Manages the pdf color space resources
Inheritance Hierarchy

Namespace:  Atalasoft.PdfDoc.Generating.ResourceHandling.Colors
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: (.NET 4.5.2, x86)
public class PdfColorSpaceManager : PdfResourceManager<PdfColorSpaceResource>

The PdfColorSpaceManager type exposes the following members.

Public methodPdfColorSpaceManager
Initializes a new instance of the PdfColorSpaceManager class.
Public propertyDefaultCmykColorSpace
Gets or sets the default cmyk color space.
Public propertyDefaultGrayColorSpace
Gets or sets the default gray color space.
Public propertyDefaultRgbColorSpace
Gets or sets the default RGB color space.
Public propertyStatic memberDeviceCmykColorSpace
Gets the name of the pre-installed device cmyk color space.
Public propertyStatic memberDeviceGrayColorSpace
Gets the name of the pre-installed device gray color space.
Public propertyStatic memberDeviceRgbColorSpace
Gets the name of the pre-installed device rgb color space.
Public propertyItem
Gets the resource with the specified s.
(Inherited from PdfResourceManagerT.)
Protected propertyResourceClass
Gets the resource class.
(Overrides PdfResourceManagerTResourceClass.)
Public propertyCode exampleResourceNames
Gets the resource names for this resource manager.
foreach (string name in globalResources.Images.ResourceNames) {
    Console.WriteLine("resource name: " + name);
(Inherited from PdfResourceManagerT.)
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 methodAddFromBytes
Adds from bytes.
Public methodAddFromFile
Adds from file.
Public methodAddFromStream
Adds from stream.
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 methodFromBytes
Froms the bytes.
Public methodFromFile
Froms the file.
Public methodFromStream
Froms the stream.
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
Resources the match.
(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.)
See Also