Ellipse region compatible with older version of LEADTOOLS (v18 and some old v19 DLLs).
public static bool LegacyEllipse { get; set; }
Public Shared Property LegacyEllipse() As Boolean
Get
Set
public:
static property bool LegacyEllipse
{
bool get()
void set(bool value)
}
Default is set to false.
Valid only for AddEllipseToRegion. Not recommended unless you need to preserve backwards compatibility.
using Leadtools;
using Leadtools.Codecs;
using Leadtools.ImageProcessing;
using LeadtoolsExamples.Common;
public void RasterRegionLegacyEllipseExample()
{
var img = RasterImage.Create(100, 100, 1, 96, RasterColor.Black);
RasterRegion.LegacyEllipse = true;
img.AddEllipseToRegion(null, LeadRect.Create(10, 10, 10, 10), RasterRegionCombineMode.Set);
}
Imports Leadtools
Imports Leadtools.Codecs
Imports Leadtools.ImageProcessing
Public Sub RasterRegionLegacyEllipseExample()
Dim img As var = RasterImage.Create(100, 100, 1, 96, RasterColor.Black)
RasterRegion.LegacyEllipse = True
img.AddEllipseToRegion(Nothing, LeadRect.Create(10, 10, 10, 10), RasterRegionCombineMode.Set)
End Sub
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