Back to Website
Show / Hide Table of Contents

Class NewBaseTextItemHandler

Inheritance
System.Object
ItemHandler
BaseRectangleItemHandler
NewBaseTextItemHandler
NewArchedTextItemHandler
NewCurvedTextItemHandler
NewPlainTextItemHandler
Implements
System.ICloneable
System.IDisposable
Inherited Members
BaseRectangleItemHandler.MinDimension
BaseRectangleItemHandler.GetTransform(RectangleF, RotatedRectangleF)
BaseRectangleItemHandler.DrawClippingPath(Graphics, Action)
BaseRectangleItemHandler.GetClippingPath(Single, Boolean)
BaseRectangleItemHandler.GetTransformedVectorMask(Transform, PointF, Boolean)
BaseRectangleItemHandler.GetPath()
BaseRectangleItemHandler.GetDrawingPath(Single)
BaseRectangleItemHandler.GetActualDash(Single[], Boolean, Single)
BaseRectangleItemHandler.Rectangle
BaseRectangleItemHandler.Angle
BaseRectangleItemHandler.Height
BaseRectangleItemHandler.Width
BaseRectangleItemHandler.Location
BaseRectangleItemHandler.Opacity
BaseRectangleItemHandler.Bounds
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.ItemOnPropertyChanged(Object, PropertyChangedEventArgs)
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.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 abstract class NewBaseTextItemHandler : BaseRectangleItemHandler, ICloneable, IDisposable

Constructors

NewBaseTextItemHandler(IConfiguration, IFileCache, IColorManagement, ILogger, IFontService, IGmColorConverter, BaseTextItem)

Declaration
protected NewBaseTextItemHandler(IConfiguration configuration, IFileCache fileCache, IColorManagement colorManagement, ILogger ccLogger, IFontService fontService, IGmColorConverter gmColorConverter, BaseTextItem item)
Parameters
Type Name Description
IConfiguration configuration
IFileCache fileCache
IColorManagement colorManagement
ILogger ccLogger
IFontService fontService
IGmColorConverter gmColorConverter
BaseTextItem item

Properties

IsEmpty

Declaration
public override bool IsEmpty { get; }
Property Value
Type Description
System.Boolean
Overrides
ItemHandler.IsEmpty

Item

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

Methods

Dispose(Boolean)

Declaration
protected override void Dispose(bool disposing)
Parameters
Type Name Description
System.Boolean disposing
Overrides
ItemHandler.Dispose(Boolean)

GetBlackBox(Single)

Declaration
protected virtual RectangleF GetBlackBox(float dpi = 72F)
Parameters
Type Name Description
System.Single dpi
Returns
Type Description
System.Drawing.RectangleF

GetBounds()

Declaration
protected abstract RectangleF GetBounds()
Returns
Type Description
System.Drawing.RectangleF

GetColorPalette(IRenderingColorSettings, PixelFormat, IColorProfilesProvider, Boolean, Boolean)

Declaration
protected Color[] GetColorPalette(IRenderingColorSettings colorSettings, PixelFormat destinationPixelFormat, IColorProfilesProvider profilesProvider, bool renderOnPdf, bool pdfRenderKeepOriginalColors)
Parameters
Type Name Description
IRenderingColorSettings colorSettings
PixelFormat destinationPixelFormat
IColorProfilesProvider profilesProvider
System.Boolean renderOnPdf
System.Boolean pdfRenderKeepOriginalColors
Returns
Type Description
Aurigma.GraphicsMill.Color[]

GetItemHandlerData()

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

GetItemHandlerDataType()

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

GetRotationCenter(Single)

Declaration
public virtual PointF GetRotationCenter(float dpi)
Parameters
Type Name Description
System.Single dpi
Returns
Type Description
System.Drawing.PointF

GetTextForRendering(Boolean, Nullable<Single>)

Declaration
protected string GetTextForRendering(bool enableScale = false, float? scale = null)
Parameters
Type Name Description
System.Boolean enableScale
System.Nullable<System.Single> scale
Returns
Type Description
System.String

GetViewer(Single)

Declaration
protected TextViewer GetViewer(float dpi = 72F)
Parameters
Type Name Description
System.Single dpi
Returns
Type Description
Aurigma.TextWhizz.TextViewer

Render(TextViewer, Single, Graphics, Color[])

Declaration
protected abstract void Render(TextViewer viewer, float dpi, Graphics graphics, Color[] palette)
Parameters
Type Name Description
Aurigma.TextWhizz.TextViewer viewer
System.Single dpi
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
Aurigma.GraphicsMill.Color[] palette

RenderForMeasure(TextViewer, Graphics, Color[], Single)

Declaration
protected abstract RectangleF RenderForMeasure(TextViewer viewer, Graphics graphics, Color[] palette, float dpi)
Parameters
Type Name Description
Aurigma.TextWhizz.TextViewer viewer
Aurigma.GraphicsMill.AdvancedDrawing.Graphics graphics
Aurigma.GraphicsMill.Color[] palette
System.Single dpi
Returns
Type Description
System.Drawing.RectangleF

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