Contact us

Applies to: Customer's Canvas On-Premises; Design Atoms .NET 7.4

Skip to main content

Interface ITextRenderer

Namespace: Aurigma.DesignAtoms.Canvas

Assembly: Aurigma.DesignAtoms.dll

Syntax
public interface ITextRenderer

Methods​

RenderToFile​

string RenderToFile(BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider

Returns​

System.String

RenderToStreamAndFile​

string RenderToStreamAndFile(Stream stream, BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)

Parameters​

TypeNameDescription
System.IO.Streamstream
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>textCropped
System.BooleanremoveColorProfile

Returns​

System.String

RenderToStream​

void RenderToStream(Stream stream, BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)

Parameters​

TypeNameDescription
System.IO.Streamstream
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>textCropped
System.BooleanremoveColorProfile

RenderToFile​

string RenderToFile(BaseTextItemHandler itemHandler, float dpi, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, bool removeColorProfile = false)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>textCropped
System.BooleanremoveColorProfile

Returns​

System.String

RenderToBitmap​

Bitmap RenderToBitmap(BaseTextItemHandler itemHandler, float dpi, bool removeColorProfile, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, out bool? textCropped, out string cacheFileId)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
System.BooleanremoveColorProfile
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.Nullable<System.Boolean>textCropped
System.StringcacheFileId

Returns​

Aurigma.GraphicsMill.Bitmap

GetTextBitmap​

Bitmap GetTextBitmap(BaseTextItemHandler itemHandler, float dpi, Point location, IRenderingColorSettings colorSettings, IColorProfilesProvider profilesProvider, bool extendBitmap = false)

Parameters​

TypeNameDescription
Aurigma.DesignAtoms.Canvas.ItemHandlers.BaseTextItemHandleritemHandler
System.Singledpi
System.Drawing.Pointlocation
Aurigma.DesignAtoms.ColorManagement.IRenderingColorSettingscolorSettings
Aurigma.DesignAtoms.ColorManagement.IColorProfilesProviderprofilesProvider
System.BooleanextendBitmap

Returns​

Aurigma.GraphicsMill.Bitmap

Was this page helpful?