Class ImbHelper
Namespace: Aurigma.DesignAtoms.Services.IMB
Assembly: Aurigma.DesignAtoms.dll
Syntax
public class ImbHelper
Inheritance: System.Object -> ImbHelper
Inherited Members
System.Object.ToStringSystem.Object.Equals(System.Object)System.Object.Equals(System.Object,System.Object)System.Object.ReferenceEquals(System.Object,System.Object)System.Object.GetHashCodeSystem.Object.GetTypeSystem.Object.MemberwiseClone
Constructors
ImbHelper
public ImbHelper()
Methods
Encode
public string Encode(string source)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | source |
Returns
System.String
EncodeToPdfStream
public void EncodeToPdfStream(string source, Color color, Stream stream, float margin)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | source | |
Aurigma.GraphicsMill.Color | color | |
System.IO.Stream | stream | |
System.Single | margin |
GetConvertedText
public PlainText GetConvertedText(string source, float margin, Color color = null, float? dpi = null)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | source | |
System.Single | margin | |
Aurigma.GraphicsMill.Color | color | |
System.Nullable<System.Single> | dpi |
Returns
Aurigma.GraphicsMill.AdvancedDrawing.PlainText
GetSize
public SizeF GetSize(string source, float margin, float? dpi = null)
Parameters
| Type | Name | Description |
|---|---|---|
System.String | source | |
System.Single | margin | |
System.Nullable<System.Single> | dpi |
Returns
System.Drawing.SizeF
GetFontRegistry
public FontRegistry GetFontRegistry()
Returns
Aurigma.GraphicsMill.AdvancedDrawing.FontRegistry