public enum RasterPaintAlignMode typedef NS_ENUM(NSInteger, LTRasterPaintAlignMode) {LTRasterPaintAlignModeNear = 0,LTRasterPaintAlignModeCenter = 1,LTRasterPaintAlignModeCenterAlways = 2,LTRasterPaintAlignModeFar = 3};
public final class RasterPaintAlignModeextends java.lang.Enum<RasterPaintAlignMode>
public enum class RasterPaintAlignMode class RasterPaintAlignMode(Enum):Near = 0Center = 1CenterAlways = 2Far = 3
| Value | Member | Description |
|---|---|---|
| 0 | Near | Align the image to the left (if this is the horizontal alignment) or top (if this is the vertical alignment) of the destination rectangle. |
| 1 | Center | Center the image in the middle of the destination rectangle. If the image size is greater than the destination rectangle size then do not center the image. |
| 2 | CenterAlways | Center the image in the middle of the destination rectangle. |
| 3 | Far | Align the image to the right (if this is the horizontal alignment) or bottom (if this is the vertical alignment) of the destination rectangle. |
Used by the RasterImage.CalculatePaintModeRectangle method to determines how to align the image in the destination rectangle.
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
