Gets the update rectangle in the target image during an animation playback.
public Leadtools.LeadRect GetUpdateRectangle(
bool clear
)
Public Function GetUpdateRectangle( _
ByVal clear As Boolean _
) As Leadtools.LeadRect
public Leadtools.LeadRect GetUpdateRectangle(
bool clear
)
function Leadtools.RasterImageAnimator.GetUpdateRectangle(
clear
)
public:
Leadtools.LeadRect GetUpdateRectangle(
bool clear
)
clear
true if you want to clear the rectangle; false if you do not.
A LeadRect that this method will fill with the coordinates of the update rectangle.
The rectangle uses image coordinates, and it is cumulative.
You usually call this after the following states, which you can get with the State property:
Value | Meaning |
---|---|
RasterImageAnimatorState.PostClear | Indicates that the target image has been cleared |
RasterImageAnimatorState.PostRender | that a frame has been rendered to the target image |
RasterImageAnimatorState.PostDispose | Indicates that the current frame has been disposed of. The index is incremented after processing this state |
This method uses image coordinates to specify the update rectangle. Therefore, you must account for the image's view perspective. For more information, refer to Accounting for View Perspective.
.
For an example, refer to RasterImageAnimator.
Products |
Support |
Feedback: GetUpdateRectangle 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.