Skip to main content

Class TextRenderer

Namespace: Aurigma.DesignAtoms.Canvas​
Assembly: Aurigma.DesignAtoms.dll​
Syntax
public class TextRenderer : ITextRenderer

Inheritance: System.Object -> TextRenderer

Implements​

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

Constructors​

TextRenderer​

public TextRenderer(IFileCache fileCache, IFontService fontService, IColorManagement colorManagement)

Methods​

RenderToFile​

public 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​

public 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​

public 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​

public 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​

public 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​

public 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?