Zooms or changes the size mode of this item.
zoom(
sizeMode: ControlSizeMode,
value: number,
origin: LeadPointD
): void;
sizeMode
The size mode to use.
value
The desired zoom value. This must be a value greater than 0. A value of 1.0 equals 100 percent zoom, a value of 0.5 equals
to 50 percent, a value of 1.5 equals 150 percent zoom and so on.
origin
The origin of the zoom operation.
This method will update Transform based on the values passed. For information on how zoom works, refer to Zoom. This method works the same way except the zoom is performed on this item only and the values will be stored in Transform.
origin is the origin of the zoom operation. Use DefaultZoomOrigin to zoom around the center of the item.
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