ImageBuilder

Metreos.Types.Imaging.ImageBuilder

Summary

The ImageBuilder type stores the text and image regions and supports methods to later save the file or convert to a byte[].

Usage

ImageBuilder is initialized with the CreateImageBuilder action. One can then use AddTextRegion, AddStandardImageRegion, and AddBorderedTextRegion to build up the composite image. Once you are done processing the image, you can either save the image to a file as a PNG, or you can access the byte[] of the image.

Remarks

None.

Parseable Inputs
.NET TypeDescription
StringInternal use only.
Metreos.Utilities.ImageInitInternal use only.
Metreos.Utilities.IGraphicRegionInternal use only.
Accessible Public Methods
Method NameDescription
AddTextInternal use only.
AddImageInternal use only.
AddImageInternal use only.
AddImageInternal use only.
SaveSpecify a filepath to save the image canvas to disk.
ResetInternal use only.
Accessible Public Properties
Property Name.NET TypeDescription
WidthSystem.Int32
HeightSystem.Int32
BackgroundColorSystem.Drawing.Color
ImageDataSystem.Byte[]