Back to Website
Show / Hide Table of Contents

Class ProductHandler

Inheritance
System.Object
ProductHandler
Implements
IProductHandler
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: Aurigma.DesignAtoms.Model
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ProductHandler : IProductHandler

Constructors

ProductHandler(IMergeUtil, IItemHandlerFactory, IItemsDataValidator, IMd5Util, ISurfaceHandler, IFontService, ItemDataHandler.Factory, IFileCache, ITemplateStorage, IBoundingPathCalculationService)

Declaration
public ProductHandler(IMergeUtil mergeUtil, IItemHandlerFactory itemHandlerFactory, IItemsDataValidator itemsDataValidator, IMd5Util md5Util, ISurfaceHandler surfaceHandler, IFontService fontService, ItemDataHandler.Factory itemDataHandlerFactory, IFileCache fileCache, ITemplateStorage templateStorage, IBoundingPathCalculationService boundingPathCalculationService)
Parameters
Type Name Description
IMergeUtil mergeUtil
IItemHandlerFactory itemHandlerFactory
IItemsDataValidator itemsDataValidator
IMd5Util md5Util
ISurfaceHandler surfaceHandler
IFontService fontService
ItemDataHandler.Factory itemDataHandlerFactory
IFileCache fileCache
ITemplateStorage templateStorage
IBoundingPathCalculationService boundingPathCalculationService

Methods

ApplyContainerSettings(Product, Dictionary<String, ContainerProperties>)

Declaration
public Product ApplyContainerSettings(Product product, Dictionary<string, ContainerProperties> containerSettings)
Parameters
Type Name Description
Product product
System.Collections.Generic.Dictionary<System.String, ContainerProperties> containerSettings
Returns
Type Description
Product

ApplyItemsDataToItems(IEnumerable<BaseItem>, IDictionary<String, ItemData>)

Declaration
public Task ApplyItemsDataToItems(IEnumerable<BaseItem> items, IDictionary<string, ItemData> itemsData)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<BaseItem> items
System.Collections.Generic.IDictionary<System.String, ItemData> itemsData
Returns
Type Description
System.Threading.Tasks.Task

ApplyLayout(Product, Boolean)

Declaration
public void ApplyLayout(Product product, bool isForceLegacyTextRenderingRequired = false)
Parameters
Type Name Description
Product product
System.Boolean isForceLegacyTextRenderingRequired

ApplyPlaceholdersDataToItems(IEnumerable<BaseItem>, Dictionary<String, String>)

Declaration
public void ApplyPlaceholdersDataToItems(IEnumerable<BaseItem> productAllItems, Dictionary<string, string> itemsDataPlaceholders)
Parameters
Type Name Description
System.Collections.Generic.IEnumerable<BaseItem> productAllItems
System.Collections.Generic.Dictionary<System.String, System.String> itemsDataPlaceholders

ApplyProductData(Product, ItemsData, VdpOptions)

Declaration
public Task ApplyProductData(Product product, ItemsData itemsData, VdpOptions options)
Parameters
Type Name Description
Product product
ItemsData itemsData
VdpOptions options
Returns
Type Description
System.Threading.Tasks.Task

ApplyProductTheme(Product, ProductThemeConfig, RenderingConfig)

Declaration
public Task ApplyProductTheme(Product product, ProductThemeConfig theme, RenderingConfig renderingConfig)
Parameters
Type Name Description
Product product
ProductThemeConfig theme
RenderingConfig renderingConfig
Returns
Type Description
System.Threading.Tasks.Task

CacheSurfaces(Product, RenderingConfig)

Declaration
public void CacheSurfaces(Product product, RenderingConfig renderingConfig)
Parameters
Type Name Description
Product product
RenderingConfig renderingConfig

FillEmptyInStringPlaceholdersWithHints(Product)

Declaration
public static void FillEmptyInStringPlaceholdersWithHints(Product product)
Parameters
Type Name Description
Product product

FillEmptyInStringPlaceholdersWithHints(Surface)

Declaration
public static void FillEmptyInStringPlaceholdersWithHints(Surface surface)
Parameters
Type Name Description
Surface surface

GetBoundsData(Product)

Declaration
public IEnumerable<RectangleF> GetBoundsData(Product product)
Parameters
Type Name Description
Product product
Returns
Type Description
System.Collections.Generic.IEnumerable<System.Drawing.RectangleF>

GetCachedSurface(Product, RenderingConfig, Int32)

Declaration
public Surface GetCachedSurface(Product product, RenderingConfig renderingConfig, int surfaceIndex)
Parameters
Type Name Description
Product product
RenderingConfig renderingConfig
System.Int32 surfaceIndex
Returns
Type Description
Surface

GetInitialSurfaceCacheId(Surface, RenderingConfig.ProofImageRendering)

Declaration
public string GetInitialSurfaceCacheId(Surface surface, RenderingConfig.ProofImageRendering proofRendering)
Parameters
Type Name Description
Surface surface
RenderingConfig.ProofImageRendering proofRendering
Returns
Type Description
System.String

GetItemFonts(BaseTextItem)

Declaration
public IEnumerable<string> GetItemFonts(BaseTextItem item)
Parameters
Type Name Description
BaseTextItem item
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetItemFontsExtended(BaseTextItem)

Declaration
public IEnumerable<FontInfo> GetItemFontsExtended(BaseTextItem item)
Parameters
Type Name Description
BaseTextItem item
Returns
Type Description
System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo>

GetProductFonts(Product)

Declaration
public IEnumerable<string> GetProductFonts(Product product)
Parameters
Type Name Description
Product product
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetProductFontsExtended(Product)

Declaration
public IEnumerable<FontInfo> GetProductFontsExtended(Product product)
Parameters
Type Name Description
Product product
Returns
Type Description
System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo>

GetSurfaceFonts(Surface)

Declaration
public IEnumerable<string> GetSurfaceFonts(Surface surface)
Parameters
Type Name Description
Surface surface
Returns
Type Description
System.Collections.Generic.IEnumerable<System.String>

GetSurfaceFontsExtended(Surface)

Declaration
public IEnumerable<FontInfo> GetSurfaceFontsExtended(Surface surface)
Parameters
Type Name Description
Surface surface
Returns
Type Description
System.Collections.Generic.IEnumerable<Aurigma.GraphicsMill.AdvancedDrawing.FontInfo>

RemoveEmptyInterpolationPlaceholders(Product)

Declaration
public static Product RemoveEmptyInterpolationPlaceholders(Product product)
Parameters
Type Name Description
Product product
Returns
Type Description
Product

RemoveEmptyInterpolationPlaceholders(Surface)

Declaration
public static void RemoveEmptyInterpolationPlaceholders(Surface surface)
Parameters
Type Name Description
Surface surface

RemoveInStringPlaceholderHints(Product)

Declaration
public static void RemoveInStringPlaceholderHints(Product product)
Parameters
Type Name Description
Product product

RemoveInStringPlaceholderHints(Surface)

Declaration
public static void RemoveInStringPlaceholderHints(Surface surface)
Parameters
Type Name Description
Surface surface

ReplaceInStringPlaceholdersValueInText(BaseTextItem)

Declaration
public static string ReplaceInStringPlaceholdersValueInText(BaseTextItem textItem)
Parameters
Type Name Description
BaseTextItem textItem
Returns
Type Description
System.String

ShowStubContent(Surface)

Declaration
public static void ShowStubContent(Surface surface)
Parameters
Type Name Description
Surface surface

Implements

IProductHandler
Was this page helpful?
Thanks for your feedback!
Back to top Copyright © 2001–2025 Aurigma, Inc. All rights reserved.
Loading...
    Thank for your vote
    Your opinion is important to us. To provide details, send feedback.
    Send feedback