Back to Website
Show / Hide Table of Contents

Class BarcodeItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
ShapeItemHandler
RectangleItemHandler
ContentItemHandler
BarcodeItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
ContentItemHandler._fontService
ContentItemHandler.NeedRasterizeVectorContent()
ContentItemHandler.AddImageEffectToPipeline(IConfiguration, IImageParams, Pipeline, IColorManagement, PixelFormat, IList<IDisposable>)
ContentItemHandler.AddOverlayEffectToPipeline(IImageParams, Pipeline, IColorManagement, PixelFormat)
ContentItemHandler.ExtendPipeline(Pipeline, IImageParams, IColorManagement, Single, IEnumerable<IDisposable>, PointF, Boolean)
ContentItemHandler.UpdateRectangle(Boolean, PlaceholderItem.ResizeMode, PlaceholderItem, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)
ContentItemHandler.MaskOpacity
ContentItemHandler.PageIndex
ContentItemHandler.ContentType
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.StrokeShape(Graphics, IImageParams, IColorManagement, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Boolean, Boolean)
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 class BarcodeItemHandler : ContentItemHandler, ICloneable, IDisposable, IPipelineExtender

Constructors

BarcodeItemHandler(IConfiguration, IFileCache, IFontService, ILogger, BarcodeItem, IItemHandlerFactory)

Declaration
public BarcodeItemHandler(IConfiguration configuration, IFileCache fileCache, IFontService fontService, ILogger ccLogger, BarcodeItem item, IItemHandlerFactory itemHandlerFactory)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
IFontService fontService
ILogger ccLogger
BarcodeItem item
IItemHandlerFactory itemHandlerFactory

Properties

CanExtendPipeline

Declaration
public bool CanExtendPipeline { get; }
Property Value
Type Description
System.Boolean

CurrentFileId

Declaration
public string CurrentFileId { get; set; }
Property Value
Type Description
System.String

ErrorMessage

Declaration
public string ErrorMessage { get; set; }
Property Value
Type Description
System.String

ErrorTextImageFileId

Declaration
public string ErrorTextImageFileId { get; set; }
Property Value
Type Description
System.String

FileId

Declaration
protected override string FileId { get; }
Property Value
Type Description
System.String
Overrides
ContentItemHandler.FileId

Item

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

StubTextImageFileId

Declaration
public string StubTextImageFileId { get; set; }
Property Value
Type Description
System.String

Methods

CreateStubTextImage(Int32, Single, String, RgbColor, String)

Declaration
public string CreateStubTextImage(int dpi, float size, string stubText, RgbColor color, string stubPsName = null)
Parameters
Type Name Description
System.Int32 dpi
System.Single size
System.String stubText
Aurigma.GraphicsMill.RgbColor color
System.String stubPsName
Returns
Type Description
System.String

DrawContent(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Nullable<CompressionType>, Boolean)

Declaration
protected override 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
Overrides
ContentItemHandler.DrawContent(RenderingContext, Graphics, IImageParams, IColorManagement, Boolean, Nullable<CompressionType>, Boolean)

Encode(Single, Boolean)

Declaration
public void Encode(float dpi, bool updateSize = false)
Parameters
Type Name Description
System.Single dpi
System.Boolean updateSize

FillShape(Graphics, IImageParams, IColorManagement, Boolean)

Declaration
protected override void FillShape(Graphics graphics, IImageParams destImageParams, IColorManagement colorManagement, bool renderOnPdf)
Parameters
Type Name Description
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
Aurigma.GraphicsMill.IImageParams destImageParams
IColorManagement colorManagement
System.Boolean renderOnPdf
Overrides
ShapeItemHandler.FillShape(Graphics, IImageParams, IColorManagement, Boolean)

GetEmptyImbBarcodeSize()

Declaration
public static SizeF GetEmptyImbBarcodeSize()
Returns
Type Description
System.Drawing.SizeF

GetImageCombiner(IImageParams, IColorManagement, Single, IEnumerable<IDisposable>, ScaleAlpha, PointF, Boolean)

Declaration
protected override 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
Overrides
ContentItemHandler.GetImageCombiner(IImageParams, IColorManagement, Single, IEnumerable<IDisposable>, ScaleAlpha, PointF, Boolean)

GetItemHandlerData()

Declaration
public override ItemHandlerData GetItemHandlerData()
Returns
Type Description
ItemHandlerData
Overrides
ShapeItemHandler.GetItemHandlerData()

GetItemHandlerDataType()

Declaration
public override string GetItemHandlerDataType()
Returns
Type Description
System.String
Overrides
ShapeItemHandler.GetItemHandlerDataType()

IsScaleWorkaroundRequired()

Declaration
protected override bool IsScaleWorkaroundRequired()
Returns
Type Description
System.Boolean
Overrides
ContentItemHandler.IsScaleWorkaroundRequired()

ToZXingBarcodeFormat(WritableBarcodeFormat)

Declaration
public static BarcodeFormat ToZXingBarcodeFormat(WritableBarcodeFormat writableBarcodeFormat)
Parameters
Type Name Description
WritableBarcodeFormat writableBarcodeFormat
Returns
Type Description
ZXing.BarcodeFormat

ToZXingEncodingOptions(BarcodeItem.EncodingOptions)

Declaration
public EncodingOptions ToZXingEncodingOptions(BarcodeItem.EncodingOptions encodingOptions)
Parameters
Type Name Description
BarcodeItem.EncodingOptions encodingOptions
Returns
Type Description
ZXing.Common.EncodingOptions

Implements

System.ICloneable
System.IDisposable
Back to top Copyright © 2001–2022 Aurigma, Inc. All rights reserved.
Loading...