Represents a renderer for the text strikeout annotation object.
public class AnnTextStrikeoutObjectRenderer : Leadtools.Annotations.Rendering.AnnTextReviewObjectRenderer, Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnObjectRenderer
Public Class AnnTextStrikeoutObjectRenderer
Inherits Leadtools.Annotations.Rendering.AnnTextReviewObjectRenderer
Implements Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnObjectRenderer
public sealed class AnnTextStrikeoutObjectRenderer : Leadtools.Annotations.Core.Leadtools.Annotations.Core.IAnnObjectRenderer
public class AnnTextStrikeoutObjectRenderer extends AnnTextReviewObjectRenderer
function Leadtools.Annotations.Rendering.AnnTextStrikeoutObjectRenderer()
AnnTextStrikeoutObjectRenderer is the default renderer for the following objects:
AnnRenderingEngine creates a new instance of this class and stores it in the AnnRenderingEngine.Renderers dictionary for each of the listed object ids.
This renderer overrides RenderShape to render a thick horizontal line near the center of each rectangle in GetRectangles as follows:
This thick line is really a rectangle that has a width equal to the rectangle width.
The height of the line is calculated from multiplying the height of the rectangle by the value of Thickness (0.15 by default which result in a line thickness equal to 15 percent of the rectangle height).
The position the line centered vertically at Position percentage value of the rectangle height (the default value of Position is 0.85 which results in the line centered vertically at 85 percent of the height).
This thick line is then rendered as a filled rectangle using Fill.
Products |
Support |
Feedback: AnnTextStrikeoutObjectRenderer Class - Leadtools.Annotations.Rendering |
Introduction |
Help Version 19.0.2017.3.22
|
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.