Class NewBaseTextItemHandler
Inheritance
System.Object
NewBaseTextItemHandler
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 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
Properties
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
| Type |
Description |
| System.Boolean |
|
Overrides
Item
Declaration
public BaseTextItem Item { get; }
Property Value
Methods
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
| Type |
Name |
Description |
| System.Boolean |
disposing |
|
Overrides
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
Returns
| Type |
Description |
| Aurigma.GraphicsMill.Color[] |
|
GetItemHandlerData()
Declaration
public override ItemHandlerData GetItemHandlerData()
Returns
Overrides
GetItemHandlerDataType()
Declaration
public override string GetItemHandlerDataType()
Returns
| Type |
Description |
| System.String |
|
Overrides
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