Specifies the type of image used in the stitching.
public enum StitchImageType
public:
enum class StitchImageType sealed
class StitchImageType(Enum):
Picture = 0
VerticalScroll = 1
HorizontalScroll = 2
Value | Member | Description |
---|---|---|
0 | Picture | Image type is a picture. |
1 | VerticalScroll | Image type is a digital image that requires vertical scrolling to view. |
2 | HorizontalScroll | Image type is a digital image that requires horizontal scrolling to view. |
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing.Effects;
public void StitchCommandExample(IList<RasterImage> Images)
{
// The image to stitch the other images to
var firstImage = Images.First();
try
{
// List of images to stitch to firstImage
var toStitchImages = Images.Skip(1).ToList();
try
{
// Create new Stitch Command and run on the provided images with the given parameters
// If successful, the firstImage will be updated to include the fully stitched image
new StitchCommand
{
ImageType = StitchImageType.VerticalScroll,
ToStitchImages = toStitchImages,
MethodType = StitchMethodType.Exhaustive,
SideMatchingType = StitchSideMatchingType.AllSides
}.Run(firstImage);
}
catch (Exception e)
{
Console.WriteLine(e);
}
}
catch (Exception e)
{
Console.WriteLine(e);
}
}
Help Collections
Raster .NET | C API | C++ Class Library | HTML5 JavaScript
Document .NET | C API | C++ Class Library | HTML5 JavaScript
Medical .NET | C API | C++ Class Library | HTML5 JavaScript
Medical Web Viewer .NET
Multimedia
Direct Show .NET | C API | Filters
Media Foundation .NET | C API | Transforms
Supported Platforms
.NET, Java, Android, and iOS/macOS Assemblies
Imaging, Medical, and Document
C API/C++ Class Libraries
Imaging, Medical, and Document
HTML5 JavaScript Libraries
Imaging, Medical, and Document