Back to Website
Show / Hide Table of Contents

Class TextRenderer

Inheritance
System.Object
TextRenderer
Implements
ITextRenderer
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()
Namespace: Aurigma.DesignAtoms.Canvas
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class TextRenderer : ITextRenderer

Constructors

TextRenderer(IFileCache, IFontService, IColorManagement)

Declaration
public TextRenderer(IFileCache fileCache, IFontService fontService, IColorManagement colorManagement)
Parameters
Type Name Description
IFileCache fileCache
IFontService fontService
IColorManagement colorManagement

Methods

GetTextBitmap(BaseTextItemHandler, Single, Point, IRenderingColorSettings, IColorProfilesProvider, Boolean)

Declaration
public Bitmap GetTextBitmap(BaseTextItemHandler itemHandler, float dpi, Point location, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool extendBitmap = false)
Parameters
Type Name Description
BaseTextItemHandler itemHandler
System.Single dpi
System.Drawing.Point location
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Boolean extendBitmap
Returns
Type Description
Aurigma.GraphicsMill.Bitmap

RenderToBitmap(BaseTextItemHandler, Single, Boolean, IRenderingColorSettings, IColorProfilesProvider, out Nullable<Boolean>, out String)

Declaration
public Bitmap RenderToBitmap(BaseTextItemHandler itemHandler, float dpi, bool removeColorProfile, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, out string cacheFileId)
Parameters
Type Name Description
BaseTextItemHandler itemHandler
System.Single dpi
System.Boolean removeColorProfile
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Nullable<System.Boolean> textCropped
System.String cacheFileId
Returns
Type Description
Aurigma.GraphicsMill.Bitmap

RenderToFile(BaseTextItemHandler, Single, IRenderingColorSettings, IColorProfilesProvider)

Declaration
public string RenderToFile(BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider)
Parameters
Type Name Description
BaseTextItemHandler itemHandler
System.Single dpi
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
Returns
Type Description
System.String

RenderToFile(BaseTextItemHandler, Single, IRenderingColorSettings, IColorProfilesProvider, out Nullable<Boolean>, Boolean)

Declaration
public string RenderToFile(BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)
Parameters
Type Name Description
BaseTextItemHandler itemHandler
System.Single dpi
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Nullable<System.Boolean> textCropped
System.Boolean removeColorProfile
Returns
Type Description
System.String

RenderToStream(Stream, BaseTextItemHandler, Single, IRenderingColorSettings, IColorProfilesProvider, out Nullable<Boolean>, Boolean)

Declaration
public void RenderToStream(Stream stream, BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)
Parameters
Type Name Description
System.IO.Stream stream
BaseTextItemHandler itemHandler
System.Single dpi
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Nullable<System.Boolean> textCropped
System.Boolean removeColorProfile

RenderToStreamAndFile(Stream, BaseTextItemHandler, Single, IRenderingColorSettings, IColorProfilesProvider, out Nullable<Boolean>, Boolean)

Declaration
public string RenderToStreamAndFile(Stream stream, BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)
Parameters
Type Name Description
System.IO.Stream stream
BaseTextItemHandler itemHandler
System.Single dpi
IRenderingColorSettings colorSettings
IColorProfilesProvider profilesProvider
System.Nullable<System.Boolean> textCropped
System.Boolean removeColorProfile
Returns
Type Description
System.String

Implements

ITextRenderer
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