feature: document template QR Code image extensions
This commit is contained in:
@@ -49,6 +49,7 @@
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="BI\Config\OrganisationAddress.cs" />
|
||||
<Compile Include="Services\Expressions\Extensions\ImageExpressionFormat.cs" />
|
||||
<Compile Include="ClientServices\EnrolmentInformation\BaseBoard.cs" />
|
||||
<Compile Include="ClientServices\EnrolmentInformation\Battery.cs" />
|
||||
<Compile Include="ClientServices\EnrolmentInformation\Bios.cs" />
|
||||
@@ -86,7 +87,7 @@
|
||||
<Compile Include="Services\Authorization\IClaimNavigatorItem.cs" />
|
||||
<Compile Include="Services\Authorization\IRoleToken.cs" />
|
||||
<Compile Include="Services\Documents\DocumentState.cs" />
|
||||
<Compile Include="BI\Expressions\IImageExpressionResult.cs" />
|
||||
<Compile Include="Services\Expressions\Extensions\IImageExpressionResult.cs" />
|
||||
<Compile Include="Services\Jobs\Statistics\DailyOpenedClosedItem.cs" />
|
||||
<Compile Include="ClientServices\EnrolResponse.cs" />
|
||||
<Compile Include="ClientServices\MacEnrol.cs" />
|
||||
|
||||
+4
-4
@@ -1,13 +1,13 @@
|
||||
using System.IO;
|
||||
|
||||
namespace Disco.Models.BI.Expressions
|
||||
namespace Disco.Models.Services.Expressions.Extensions
|
||||
{
|
||||
public interface IImageExpressionResult
|
||||
{
|
||||
Stream GetImage(int Width, int Height);
|
||||
Stream GetImage();
|
||||
MemoryStream GetImage(int width, int height);
|
||||
MemoryStream GetImage(out int width, out int height);
|
||||
byte Quality { get; set; }
|
||||
bool LosslessFormat { get; set; }
|
||||
ImageExpressionFormat Format { get; set; }
|
||||
bool ShowField { get; set; }
|
||||
string BackgroundColour { get; set; }
|
||||
bool BackgroundPreferTransparent { get; set; }
|
||||
@@ -0,0 +1,9 @@
|
||||
namespace Disco.Models.Services.Expressions.Extensions
|
||||
{
|
||||
public enum ImageExpressionFormat
|
||||
{
|
||||
Jpeg,
|
||||
Png,
|
||||
CcittG4,
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user