ImageResizer  3.4.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Protected Member Functions | List of all members
ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings Class Reference

Ghostscript settings collection. More...

Inheritance diagram for ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings:
Inheritance graph
[legend]
Collaboration diagram for ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings:
Collaboration graph
[legend]

Public Member Functions

 GhostscriptSettings ()
 Initializes a new instance of the GhostscriptSettings class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer. More...
 
 GhostscriptSettings (NameValueCollection items)
 Copies the entries from the specified GhostscriptSettings to a new GhostscriptSettings with the same initial capacity as the number of entries copied and using the same hash code provider and the same comparer as the source collection. More...
 
void Add (string name)
 Adds an entry with the specified name and string representation of the value to the GhostscriptSettings. More...
 
void Add< T > (string name, T value)
 Adds an entry with the specified name and string representation of the value to the GhostscriptSettings. More...
 

Protected Member Functions

 GhostscriptSettings (SerializationInfo info, StreamingContext context)
 

Detailed Description

Ghostscript settings collection.

Definition at line 29 of file GhostscriptSettings.cs.

Constructor & Destructor Documentation

ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings.GhostscriptSettings ( )
inline

Initializes a new instance of the GhostscriptSettings class that is empty, has the default initial capacity and uses the default case-insensitive hash code provider and the default case-insensitive comparer.

Definition at line 35 of file GhostscriptSettings.cs.

36  {
37  }
ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings.GhostscriptSettings ( NameValueCollection  items)
inline

Copies the entries from the specified GhostscriptSettings to a new GhostscriptSettings with the same initial capacity as the number of entries copied and using the same hash code provider and the same comparer as the source collection.

Parameters
itemsThe GhostscriptSettings to copy to the new GhostscriptSettings instance.
Exceptions
T:System.ArgumentNullExceptionitems is null.

Definition at line 47 of file GhostscriptSettings.cs.

48  : base(items)
49  {
50  }

Member Function Documentation

void ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings.Add ( string  name)
inline

Adds an entry with the specified name and string representation of the value to the GhostscriptSettings.

Parameters
nameThe string key of the entry to add. The key can be null.

Definition at line 63 of file GhostscriptSettings.cs.

64  {
65  base.Add(name, null);
66  }
void ImageResizer.Plugins.PdfRenderer.Ghostscript.GhostscriptSettings.Add< T > ( string  name,
value 
)
inline

Adds an entry with the specified name and string representation of the value to the GhostscriptSettings.

Parameters
nameThe string key of the entry to add. The key can be null.
valueThe string representation of object value of the entry to add. The value can be null.

Definition at line 77 of file GhostscriptSettings.cs.

78  {
79  string textValue = Convert.ToString(value, CultureInfo.InvariantCulture);
80  base.Add(name, textValue);
81  }

The documentation for this class was generated from the following file: