public enum CodecsAnzView
typedef NS_ENUM(NSInteger, LTCodecsAnzView) {
LTCodecsAnzViewTransverse,
LTCodecsAnzViewSagittal,
LTCodecsAnzViewCoronal
};
public enum CodecsAnzView
public enum class CodecsAnzView
class CodecsAnzView(Enum):
Transverse = 0
Sagittal = 1
Coronal = 2
Value | Member | Description |
---|---|---|
0 | Transverse | View is from underneath |
1 | Sagittal | View is from right side |
2 | Coronal | View is from front |
For more information, refer to CodecsAnzOptions.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing.Core;
public void CodecsAnzLoadOptionsExample()
{
RasterCodecs codecs = new RasterCodecs();
string srcFileName = Path.Combine(LEAD_VARS.ImagesDir, "Image1.Anz");
string dstFileName = Path.Combine(LEAD_VARS.ImagesDir, "Image1_AnzCoronal.bmp");
// Set the load options to use
// "view is from front" ANZ viewing options
codecs.Options.Anz.Load.View = CodecsAnzView.Coronal; // CodecsAnzOptions & CodecsAnzLoadOptions reference
// Load the source file
using (RasterImage image = codecs.Load(srcFileName))
{
// Save the image as BMP
codecs.Save(image, dstFileName, RasterImageFormat.Bmp, 24);
}
// Clean up
codecs.Dispose();
}
static class LEAD_VARS
{
public const string ImagesDir = @"C:\LEADTOOLS22\Resources\Images";
}
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