Back to Website
Show / Hide Table of Contents

Class ContentItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
ContentItemHandler
BarcodeItemHandler
ImageItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
RectangleItemHandler.GetDrawingPath(Single)
RectangleItemHandler.Bounds
ShapeItemHandler.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)
ShapeItemHandler.UpdateControlPoints()
ShapeItemHandler.GetBorderWidth(Single)
ShapeItemHandler.GetActualDash(Single)
ShapeItemHandler.GetTransformedPath()
ShapeItemHandler.GetShapeDrawer(IImageParams, IColorManagement, Single, PointF)
ShapeItemHandler.GetPath()
ShapeItemHandler.GetDrawingFillColor(IImageParams)
ShapeItemHandler.FillShape(Graphics, IImageParams, IColorManagement, Boolean)
ShapeItemHandler.StrokeShape(Graphics, IImageParams, IColorManagement, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Boolean, Boolean)
ShapeItemHandler.GetItemHandlerData()
ShapeItemHandler.GetItemHandlerDataType()
ShapeItemHandler.ClearColorProfile()
ShapeItemHandler.ConvertColorProfile(IColorManagement, ColorSpace)
ShapeItemHandler.Path
ShapeItemHandler.BorderColor
ShapeItemHandler.AltBorderColor
ShapeItemHandler.Dash
ShapeItemHandler.FillColor
ShapeItemHandler.BorderWidth
ShapeItemHandler.FixedBorderWidth
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.TextWrappingMode
ItemHandler._fileCache
ItemHandler._configuration
ItemHandler._ccLogger
ItemHandler._logger
ItemHandler.ItemOnPermissionsChanged(Object, EventArgs)
ItemHandler.Clone()
ItemHandler.Transform_TransformChanged(Object, EventArgs)
ItemHandler.OnChanged()
ItemHandler.CreateVoPermissions()
ItemHandler.Draw(RenderingContext, Bitmap, Boolean)
ItemHandler.GetDestinationColor(Color, IImageParams, IColorManagement, Single, Boolean)
ItemHandler.GetColorManagement(Boolean)
ItemHandler.BeginUpdate()
ItemHandler.EndUpdate()
ItemHandler.Dispose()
ItemHandler.Dispose(Boolean)
ItemHandler.IsEmpty
ItemHandler.ControlPoints
ItemHandler.UniqueId
ItemHandler.Transform
ItemHandler.Tag
ItemHandler.Layer
ItemHandler.Index
ItemHandler.Canvas
ItemHandler.Name
ItemHandler.BlendMode
ItemHandler.Permissions
ItemHandler.Data
ItemHandler.Visible
ItemHandler.Locked
ItemHandler.IsUpdating
ItemHandler.Changed
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.Canvas.ItemHandlers
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
Type Name Description
IConfiguration configuration
IFileCache fileCache
ILogger ccLogger
ContentItem item
IItemHandlerFactory itemHandlerFactory
IFontService fontService

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
Type Name Description
IConfiguration configuration
IFileCache fileCache
ILogger ccLogger
ContentItem item
System.Drawing.RectangleF rectangle
IItemHandlerFactory itemHandlerFactory
IFontService fontService

Fields

_fontService

Declaration
protected readonly IFontService _fontService
Field Value
Type Description
IFontService

Properties

ContentType

Declaration
public ContentType ContentType { get; set; }
Property Value
Type Description
ContentType

FileId

Declaration
protected abstract string FileId { get; }
Property Value
Type Description
System.String

Item

Declaration
public ContentItem Item { get; }
Property Value
Type Description
ContentItem

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
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...