Class DefaultProfileID
This class is provides the IDs of the installed and available default profiles. This profiles are for instance visible in the desktop application or the server.Unlike the listing in the server, this class will ignore the filters set in the global configuration.
Inheritance
System.Object
DefaultProfileID
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: inetsoftware.Pdfc.Config
Assembly: inetsoftware.Pdfc.dll
Syntax
public static class DefaultProfileID
Methods
GetAvailableProfileIDs()
Lists all default profiles which are available in the current environments. Default profiles can vary depending on the installed and activated plugins.
Declaration
public static IList<string> GetAvailableProfileIDs()
Returns
Type | Description |
---|---|
System.Collections.Generic.IList<System.String> |
IsAvailable(String)
Checks whether a profile is available. A profile may be unavailable if it's plugin was removed or deactivated or, if it was a user profile that has been removed.
Declaration
public static bool IsAvailable(string id)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | the id of the profile to check for |
Returns
Type | Description |
---|---|
System.Boolean | true, if the Id can be used for SetProfile(String) |