Class ContentItemHandler
Inheritance
System.Object
ContentItemHandler
Implements
System.ICloneable
System.IDisposable
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()
Assembly: Aurigma.DesignAtoms.dll
Syntax
public abstract class ContentItemHandler : RectangleItemHandler, ICloneable, IDisposable
Constructors
ContentItemHandler(IConfiguration, IFileCache, ILogger, ContentItem, IItemHandlerFactory, IFontService)
Declaration
protected ContentItemHandler(IConfiguration configuration, IFileCache fileCache, ILogger ccLogger, ContentItem item, IItemHandlerFactory itemHandlerFactory, IFontService fontService)
Parameters
ContentItemHandler(IConfiguration, IFileCache, ILogger, ContentItem, RectangleF, IItemHandlerFactory, IFontService)
Declaration
protected ContentItemHandler(IConfiguration configuration, IFileCache fileCache, ILogger ccLogger, ContentItem item, RectangleF rectangle, IItemHandlerFactory itemHandlerFactory, IFontService fontService)
Parameters
Fields
_fontService
Declaration
protected readonly IFontService _fontService
Field Value
Properties
ContentType
Declaration
public ContentType ContentType { get; set; }
Property Value
FileId
Declaration
protected abstract string FileId { get; }
Property Value
Type |
Description |
System.String |
|
Item
Declaration
public ContentItem Item { get; }
Property Value
MaskOpacity
Declaration
public double MaskOpacity { get; set; }
Property Value
Type |
Description |
System.Double |
|
PageIndex
Declaration
protected virtual int PageIndex { get; }
Property Value
Type |
Description |
System.Int32 |
|
Methods
AddImageEffectToPipeline(IConfiguration, IImageParams, Pipeline, IColorManagement, PixelFormat, IList<IDisposable>)
Declaration
protected virtual Pipeline AddImageEffectToPipeline(IConfiguration configuration, IImageParams source, Pipeline currentPipeline, IColorManagement colorManagement, PixelFormat colorizeDestPixelFormat, IList<IDisposable> deps)
Parameters
Type |
Name |
Description |
IConfiguration |
configuration |
|
Aurigma.GraphicsMill.IImageParams |
source |
|
Aurigma.GraphicsMill.Pipeline |
currentPipeline |
|
IColorManagement |
colorManagement |
|
Aurigma.GraphicsMill.PixelFormat |
colorizeDestPixelFormat |
|
System.Collections.Generic.IList<System.IDisposable> |
deps |
|
Returns
Type |
Description |
Aurigma.GraphicsMill.Pipeline |
|
AddOverlayEffectToPipeline(IImageParams, Pipeline, IColorManagement, PixelFormat)
Declaration
protected virtual void AddOverlayEffectToPipeline(IImageParams reader, Pipeline pipeline, IColorManagement colorManagement, PixelFormat destPixelFormat)
Parameters
Type |
Name |
Description |
Aurigma.GraphicsMill.IImageParams |
reader |
|
Aurigma.GraphicsMill.Pipeline |
pipeline |
|
IColorManagement |
colorManagement |
|
Aurigma.GraphicsMill.PixelFormat |
destPixelFormat |
|
DrawContent(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Nullable<CompressionType>, Boolean)
Declaration
protected virtual void DrawContent(RenderingContext renderingContext, Graphics graphics, IImageParams destImageParams, IColorManagement colorManagement, bool rasterizeVectorLayers, CompressionType? pdfCompression, bool isPreview)
Parameters
Type |
Name |
Description |
RenderingContext |
renderingContext |
|
Aurigma.GraphicsMill.AdvancedDrawing.Graphics |
graphics |
|
Aurigma.GraphicsMill.IImageParams |
destImageParams |
|
IColorManagement |
colorManagement |
|
System.Boolean |
rasterizeVectorLayers |
|
System.Nullable<Aurigma.GraphicsMill.Codecs.CompressionType> |
pdfCompression |
|
System.Boolean |
isPreview |
|
ExtendPipeline(Pipeline, IImageParams, IColorManagement, Single, out IEnumerable<IDisposable>, PointF, Boolean)
Declaration
public void ExtendPipeline(Pipeline pipeline, IImageParams destImageParams, IColorManagement colorManagement, float scale, out IEnumerable<IDisposable> deps, PointF offset, bool isPreview)
Parameters
Type |
Name |
Description |
Aurigma.GraphicsMill.Pipeline |
pipeline |
|
Aurigma.GraphicsMill.IImageParams |
destImageParams |
|
IColorManagement |
colorManagement |
|
System.Single |
scale |
|
System.Collections.Generic.IEnumerable<System.IDisposable> |
deps |
|
PointF |
offset |
|
System.Boolean |
isPreview |
|
GetImageCombiner(IImageParams, IColorManagement, Single, IEnumerable<IDisposable>, ScaleAlpha, PointF, Boolean)
Declaration
protected virtual Transform GetImageCombiner(IImageParams destImageParams, IColorManagement colorManagement, float scale, IEnumerable<IDisposable> deps, ScaleAlpha alpha, PointF offset, bool isPreview)
Parameters
Type |
Name |
Description |
Aurigma.GraphicsMill.IImageParams |
destImageParams |
|
IColorManagement |
colorManagement |
|
System.Single |
scale |
|
System.Collections.Generic.IEnumerable<System.IDisposable> |
deps |
|
Aurigma.GraphicsMill.Transforms.ScaleAlpha |
alpha |
|
PointF |
offset |
|
System.Boolean |
isPreview |
|
Returns
Type |
Description |
Aurigma.GraphicsMill.Transforms.Transform |
|
IsScaleWorkaroundRequired()
Declaration
protected virtual bool IsScaleWorkaroundRequired()
Returns
Type |
Description |
System.Boolean |
|
NeedRasterizeVectorContent()
Declaration
protected virtual bool NeedRasterizeVectorContent()
Returns
Type |
Description |
System.Boolean |
|
UpdateRectangle(Boolean, PlaceholderItem.ResizeMode, PlaceholderItem, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)
Declaration
public virtual void UpdateRectangle(bool keepLocation, PlaceholderItem.ResizeMode resizeMode, PlaceholderItem parentPlaceholder, float? sourceWidth = default(float? ), float? sourceHeight = default(float? ), float? dpiX = default(float? ), float? dpiY = default(float? ))
Parameters
Type |
Name |
Description |
System.Boolean |
keepLocation |
|
PlaceholderItem.ResizeMode |
resizeMode |
|
PlaceholderItem |
parentPlaceholder |
|
System.Nullable<System.Single> |
sourceWidth |
|
System.Nullable<System.Single> |
sourceHeight |
|
System.Nullable<System.Single> |
dpiX |
|
System.Nullable<System.Single> |
dpiY |
|
Implements
System.ICloneable
System.IDisposable