Changes the size of the overlay image for a certain index.
Public Sub SetOverlayImageSize( _
ByVal index As Integer, _
ByVal width As Integer, _
ByVal height As Integer _
)
- (BOOL)setOverlaySize:(LeadSize)size
forImageAtIndex:(NSInteger)index
error:(NSError **)error
function Leadtools.RasterImage.SetOverlayImageSize(
index ,
width ,
height
)
index
The index of the overlay for which to set the image size. This index is zero-based and should be less than or equal to MaxOverlays.
width
New image width in pixels
height
New image height in pixels.
This method is available in the (Document/Medical only) Toolkits.
Sets the size of the overlay image for a certain index. If the image already has an overlay image at index, it will be freed and the overlay size will be set to width by height pixels. If the image has no overlay image at index, a new empty overlay image will be created with size of width and height. After calling SetOverlayImageSize, you must call UpdateOverlayBits to allocate the overlay bitmap and set the data.
For more information, refer to Overlay Overview.
For an example, refer to GetOverlayImage
Products |
Support |
Feedback: SetOverlayImageSize Method - Leadtools |
Introduction |
Help Version 19.0.2017.6.19
|
Raster .NET | C API | C++ Class Library | JavaScript HTML5
Document .NET | C API | C++ Class Library | JavaScript HTML5
Medical .NET | C API | C++ Class Library | JavaScript HTML5
Medical Web Viewer .NET
Your email has been sent to support! Someone should be in touch! If your matter is urgent please come back into chat.
Chat Hours:
Monday - Friday, 8:30am to 6pm ET
Thank you for your feedback!
Please fill out the form again to start a new chat.
All agents are currently offline.
Chat Hours:
Monday - Friday
8:30AM - 6PM EST
To contact us please fill out this form and we will contact you via email.