Class BarcodeItemHandler
Inheritance
System.Object
BarcodeItemHandler
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 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
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
Item
Declaration
public BarcodeItem Item { get; }
Property Value
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
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
GetEmptyImbBarcodeSize()
Declaration
public static SizeF GetEmptyImbBarcodeSize()
Returns
Type |
Description |
System.Drawing.SizeF |
|
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
GetItemHandlerData()
Declaration
public override ItemHandlerData GetItemHandlerData()
Returns
Overrides
GetItemHandlerDataType()
Declaration
public override string GetItemHandlerDataType()
Returns
Type |
Description |
System.String |
|
Overrides
IsScaleWorkaroundRequired()
Declaration
protected override bool IsScaleWorkaroundRequired()
Returns
Type |
Description |
System.Boolean |
|
Overrides
Declaration
public static BarcodeFormat ToZXingBarcodeFormat(WritableBarcodeFormat writableBarcodeFormat)
Parameters
Returns
Type |
Description |
ZXing.BarcodeFormat |
|
ToZXingEncodingOptions(BarcodeItem.EncodingOptions)
Declaration
public EncodingOptions ToZXingEncodingOptions(BarcodeItem.EncodingOptions encodingOptions)
Parameters
Returns
Type |
Description |
ZXing.Common.EncodingOptions |
|
Implements
System.ICloneable
System.IDisposable