Class Configuration
Namespace: Aurigma.DesignAtoms.Configuration
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class Configuration : IConfiguration
Inheritance: System.Object -> Configuration
Implements
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
Configuration
public Configuration()
Configuration
public Configuration(IApplicationEnvironment applicationEnvironment)
Configuration
public Configuration(IApplicationEnvironment applicationEnvironment, IConfigurationReader configurationReader)
Properties
GrayscaleColorProfileFileName
public string GrayscaleColorProfileFileName { get; }
RgbColorProfileFileName
public string RgbColorProfileFileName { get; }
CmykColorProfileFileName
public string CmykColorProfileFileName { get; }
AllowDownloadImageToCache
public bool AllowDownloadImageToCache { get; }
FontSubstitutionEnabled
public bool FontSubstitutionEnabled { get; set; }
NotFoundGlyphRemovalEnabled
public bool NotFoundGlyphRemovalEnabled { get; set; }
PdfRenderDeviceProfileEnabled
public bool PdfRenderDeviceProfileEnabled { get; set; }
PdfRenderKeepOriginalColors
public bool PdfRenderKeepOriginalColors { get; set; }
PsdTextBoxWorkaroundEnabled
public bool PsdTextBoxWorkaroundEnabled { get; set; }
GetDefaultRichTextStyleFromLastChar
public bool GetDefaultRichTextStyleFromLastChar { get; set; }
IdmlFixDescenderEnabled
public bool IdmlFixDescenderEnabled { get; set; }
InterpretEmptyGraphicFrameAsImagePlaceholder
public bool InterpretEmptyGraphicFrameAsImagePlaceholder { get; set; }
UseHiResDpiForPdfResize
public bool UseHiResDpiForPdfResize { get; set; }
PreferParsingToColorLessContainer
public bool PreferParsingToColorLessContainer { get; set; }
SepiaAlgorithm
public SepiaAlgorithm SepiaAlgorithm { get; set; }
UseAnisotropic9ResizeMode
public bool UseAnisotropic9ResizeMode { get; set; }
TempDirectory
public string TempDirectory { get; }
ColorProfilesDirectory
public string ColorProfilesDirectory { get; }
FontDirectory
public string FontDirectory { get; }
Converters
public List<ConverterElement> Converters { get; }
PdfHiResRasterizeVectorLayers
public bool PdfHiResRasterizeVectorLayers { get; set; }
IgnoreInDesignMissingLinks
public bool IgnoreInDesignMissingLinks { get; set; }
StaticStoragePath
public string StaticStoragePath { get; }
SubstitutionFontPostScriptName
public string SubstitutionFontPostScriptName { get; set; }
DefaultColorOverlayBlendMode
public BlendMode DefaultColorOverlayBlendMode { get; set; }
UseInDesignLockedState
public bool UseInDesignLockedState { get; set; }
UseInDesignVisibleState
public bool UseInDesignVisibleState { get; set; }
UseInDesignPageAsPrintArea
public bool UseInDesignPageAsPrintArea { get; set; }
LegacyIdmlBleedParsingEnabled
public bool LegacyIdmlBleedParsingEnabled { get; set; }
FlattenGroups
public bool FlattenGroups { get; set; }
GlobalWrappingMargin
public float? GlobalWrappingMargin { get; }
LegacyTextEngineEnabled
public bool LegacyTextEngineEnabled { get; set; }
ForceLegacyTextRendering
public bool ForceLegacyTextRendering { get; set; }
PreferredFallbackFonts
public string PreferredFallbackFonts { get; set; }
DefaultColorOverlayOpacity
public float DefaultColorOverlayOpacity { get; set; }
DefaultPlaceholderCoverModeEnabled
public bool DefaultPlaceholderCoverModeEnabled { get; set; }
RasterizeVectorInSmartFrame
public bool RasterizeVectorInSmartFrame { get; set; }
LoadFontListAsPostScriptNames
public bool LoadFontListAsPostScriptNames { get; set; }
RenderingMemoryStreamMaxSize
public long RenderingMemoryStreamMaxSize { get; set; }
PdfTextOutputMode
public PdfTextOutputMode PdfTextOutputMode { get; }
LegacyBlackAndWhiteEffectEnabled
public bool LegacyBlackAndWhiteEffectEnabled { get; }
LegacyColorizeEffectEnabled
public bool LegacyColorizeEffectEnabled { get; }
EnableCachingStateResources
public bool EnableCachingStateResources { get; }
EnableCachingArtifacts
public bool EnableCachingArtifacts { get; }
EnableCachingStaticFiles
public bool EnableCachingStaticFiles { get; }
Methods
Setup
public static void Setup(bool enableCors = false, IEnumerable<Assembly> controllerAssemblies = null, TypeRegistrationOrderedDict additionalBindings = null, bool enableMappingAttributeRoutes = true)
Parameters
| Type | Name | Description |
|---|---|---|
System.Boolean | enableCors | |
System.Collections.Generic.IEnumerable<System.Reflection.Assembly> | controllerAssemblies | |
| Aurigma.DesignAtoms.Configuration.TypeRegistrationOrderedDict | additionalBindings | |
System.Boolean | enableMappingAttributeRoutes |
Fields
MAIN_CONTAINER_NAME
public static readonly string MAIN_CONTAINER_NAME
BG_CONTAINER_NAME
public static readonly string BG_CONTAINER_NAME
FG_CONTAINER_NAME
public static readonly string FG_CONTAINER_NAME
BG_SOLIDCOLOR
public static readonly string BG_SOLIDCOLOR
SPINE_AND_FOLDING_CONTAINER_NAME
public static readonly string SPINE_AND_FOLDING_CONTAINER_NAME