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.IsImageAvailable()
ContentItemHandler.AddImageEffectToPipeline(IConfiguration, IImageParams, Pipeline, PixelFormat, IRenderingColorSettings, IColorProfilesProvider, IList<IDisposable>)
ContentItemHandler.AddOverlayEffectToPipeline(IImageParams, Pipeline, IRenderingColorSettings, PixelFormat, IColorProfilesProvider)
ContentItemHandler.IsDownscaleRequired(Rectangle, IImageParams)
ContentItemHandler.IsUpscaleRequired(Boolean, IImageParams, Single, Single)
ContentItemHandler.ExtendPipeline(Pipeline, IImageParams, IRenderingColorSettings, IColorProfilesProvider, Single, IEnumerable<IDisposable>, PointF, Boolean, Boolean)
ContentItemHandler.UpdateRectangle(Boolean, PlaceholderItem.ResizeMode, PlaceholderItem, Nullable<Single>, Nullable<Single>, Nullable<Single>, Nullable<Single>)
ContentItemHandler.ContentType
ContentItemHandler.MaskOpacity
ContentItemHandler.PageIndex
RectangleItemHandler.GetDrawingPath(Single)
RectangleItemHandler.Bounds
ShapeItemHandler.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)
ShapeItemHandler.GetBorderColor(IColorProfilesProvider)
ShapeItemHandler.GetAltBorderColor(IColorProfilesProvider)
ShapeItemHandler.GetFillColor(IColorProfilesProvider)
ShapeItemHandler.GetTransformedPath()
ShapeItemHandler.UpdateControlPoints()
ShapeItemHandler.GetBorderWidth(Single)
ShapeItemHandler.GetShapeDrawer(IRenderingColorSettings, PixelFormat, Single, PointF, IColorProfilesProvider)
ShapeItemHandler.GetPath()
ShapeItemHandler.GetDrawingFillColor(PixelFormat, IColorProfilesProvider)
ShapeItemHandler.StrokeShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)
ShapeItemHandler.DrawShape(RenderingContext, Graphics, IImageParams, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean, Boolean, Boolean)
ShapeItemHandler.Path
ShapeItemHandler.Dash
ShapeItemHandler.BorderWidth
ShapeItemHandler.FixedBorderWidth
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.GetActualDash(Single[], Boolean, Single)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.TextWrappingMode
ItemHandler._fileCache
ItemHandler._configuration
ItemHandler._ccLogger
ItemHandler._logger
ItemHandler._colorManagement
ItemHandler._gmColorConverter
ItemHandler.Draw(RenderingContext, Bitmap, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.Draw(RenderingContext, Bitmap, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Boolean, Boolean)
ItemHandler.ItemOnPermissionsChanged(Object, EventArgs)
ItemHandler.Clone()
ItemHandler.BeginUpdate()
ItemHandler.EndUpdate()
ItemHandler.Dispose()
ItemHandler.OnTransformChanged(Object, EventArgs)
ItemHandler.OnChanged()
ItemHandler.GetDestinationColor(Color, IColorProfilesProvider, IRenderingColorSettings, Nullable<PixelFormat>, Single, Boolean, Boolean)
ItemHandler.Dispose(Boolean)
ItemHandler.IsEmpty
ItemHandler.ControlPoints
ItemHandler.UniqueId
ItemHandler.Transform
ItemHandler.Tag
ItemHandler.Layer
ItemHandler.IsUpdating
ItemHandler.Index
ItemHandler.Canvas
ItemHandler.Name
ItemHandler.BlendMode
ItemHandler.Permissions
ItemHandler.Data
ItemHandler.Visible
ItemHandler.Locked
ItemHandler.SourceColorProfilesOrDefault
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

Constructors

BarcodeItemHandler(IConfiguration, IFileCache, IColorManagement, IFontService, ILogger, BarcodeItem, IItemHandlerFactory, IFileCacheImageParamsReader, ISvgReaderFactory, IGmColorConverter, IColorPreviewService)

Declaration
public BarcodeItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, IFontService fontService, ILogger ccLogger, BarcodeItem item, IItemHandlerFactory itemHandlerFactory, IFileCacheImageParamsReader fileCacheImageParamsReader, ISvgReaderFactory svgReaderFactory, IGmColorConverter gmColorConverter, IColorPreviewService colorPreviewService)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
IColorManagement colorManagement
IFontService fontService
ILogger ccLogger
BarcodeItem item
IItemHandlerFactory itemHandlerFactory
IFileCacheImageParamsReader fileCacheImageParamsReader
ISvgReaderFactory svgReaderFactory
IGmColorConverter gmColorConverter
IColorPreviewService colorPreviewService

Fields

BarcodeSvgCmykProfileName

Declaration
public const string BarcodeSvgCmykProfileName = "cmykprofile"
Field Value
Type Description
System.String

Properties

CanExtendPipeline

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

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

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

AddVectorImageToPipeline(Pipeline, Stream, Single, Size, Boolean, Boolean, IList<IDisposable>)

Declaration
protected override IImageParams AddVectorImageToPipeline(Pipeline pipeline, Stream stream, float destDpi, Size destSize, bool isPreview, bool isSingleColorTargetContainer, IList<IDisposable> disposables)
Parameters
Type Name Description
Aurigma.GraphicsMill.Pipeline pipeline
System.IO.Stream stream
System.Single destDpi
System.Drawing.Size destSize
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
System.Collections.Generic.IList<System.IDisposable> disposables
Returns
Type Description
Aurigma.GraphicsMill.IImageParams
Overrides
ContentItemHandler.AddVectorImageToPipeline(Pipeline, Stream, Single, Size, Boolean, Boolean, IList<IDisposable>)

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, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Nullable<CompressionType>, Boolean, Boolean, Boolean, ImageEffect)

Declaration
protected override void DrawContent(RenderingContext renderingContext, Graphics graphics, IImageParams destImageParams, DrawItemParams drawItemParams, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool rasterizeVectorLayers, CompressionType? pdfCompression, bool isPreview, bool isSingleColorTargetContainer, bool isPdfRenderDeviceProfileEnabled, ImageEffect effect)
Parameters
Type Name Description
RenderingContext renderingContext
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
Aurigma.GraphicsMill.IImageParams destImageParams
DrawItemParams drawItemParams
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Boolean rasterizeVectorLayers
System.Nullable<CompressionType> pdfCompression
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
System.Boolean isPdfRenderDeviceProfileEnabled
ImageEffect effect
Overrides
ContentItemHandler.DrawContent(RenderingContext, Graphics, IImageParams, DrawItemParams, IRenderingColorSettings, IColorProfilesProvider, Boolean, Nullable<CompressionType>, Boolean, Boolean, Boolean, ImageEffect)

Encode(Single, IColorProfilesProvider, IRenderingColorSettings, Boolean, Boolean)

Declaration
public string Encode(float dpi, IColorProfilesProvider profilesProvider, IRenderingColorSettings colorSettings, bool useRgbColorSpace = false, bool updateSize = false)
Parameters
Type Name Description
System.Single dpi
IColorProfilesProvider profilesProvider
IRenderingColorSettings colorSettings
System.Boolean useRgbColorSpace
System.Boolean updateSize
Returns
Type Description
System.String

FillShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)

Declaration
protected override void FillShape(Graphics graphics, IRenderingColorSettings colorSettings, PixelFormat destinationPixelFormat, IColorProfilesProvider profilesProvider, bool renderOnPdf, bool pdfRenderKeepOriginalColors, bool isPdfRenderDeviceProfileEnabled = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
IRenderingColorSettings colorSettings
PixelFormat destinationPixelFormat
IColorProfilesProvider profilesProvider
System.Boolean renderOnPdf
System.Boolean pdfRenderKeepOriginalColors
System.Boolean isPdfRenderDeviceProfileEnabled
Overrides
ShapeItemHandler.FillShape(Graphics, IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean, Boolean)

GetEmptyImbBarcodeSize()

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

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

Declaration
protected override Transform GetImageCombiner(IImageParams destImageParams, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, float scale, IEnumerable<IDisposable> deps, ScaleAlpha alpha, PointF offset, bool isPreview, bool isSingleColorTargetContainer = false)
Parameters
Type Name Description
Aurigma.GraphicsMill.IImageParams destImageParams
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Single scale
System.Collections.Generic.IEnumerable<System.IDisposable> deps
Aurigma.GraphicsMill.Transforms.ScaleAlpha alpha
PointF offset
System.Boolean isPreview
System.Boolean isSingleColorTargetContainer
Returns
Type Description
Aurigma.GraphicsMill.Transforms.Transform
Overrides
ContentItemHandler.GetImageCombiner(IImageParams, IRenderingColorSettings, IColorProfilesProvider, Single, IEnumerable<IDisposable>, ScaleAlpha, PointF, Boolean, Boolean)

GetImageStreamAsync(Single, Boolean, IColorProfilesProvider, IRenderingColorSettings)

Declaration
protected override Task<Stream> GetImageStreamAsync(float dpi, bool isPreview, IColorProfilesProvider profilesProvider, IRenderingColorSettings colorSettings)
Parameters
Type Name Description
System.Single dpi
System.Boolean isPreview
IColorProfilesProvider profilesProvider
IRenderingColorSettings colorSettings
Returns
Type Description
System.Threading.Tasks.Task<System.IO.Stream>
Overrides
ContentItemHandler.GetImageStreamAsync(Single, Boolean, IColorProfilesProvider, IRenderingColorSettings)

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()

GetObjectId()

Declaration
protected override string GetObjectId()
Returns
Type Description
System.String
Overrides
ContentItemHandler.GetObjectId()

IsImageAvailableAsync()

Declaration
protected override Task<bool> IsImageAvailableAsync()
Returns
Type Description
System.Threading.Tasks.Task<System.Boolean>
Overrides
ContentItemHandler.IsImageAvailableAsync()

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
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