Renders the specified label.
public virtual void RenderLabel(
Leadtools.Annotations.Core.AnnContainerMapper mapper,
Leadtools.Annotations.Core.AnnLabel label,
Leadtools.Annotations.Core.AnnFixedStateOperations operations
)
Public Overridable Sub RenderLabel( _
ByVal mapper As Leadtools.Annotations.Core.AnnContainerMapper, _
ByVal label As Leadtools.Annotations.Core.AnnLabel, _
ByVal operations As Leadtools.Annotations.Core.AnnFixedStateOperations _
)
public virtual void RenderLabel(
Leadtools.Annotations.Core.AnnContainerMapper mapper,
Leadtools.Annotations.Core.AnnLabel label,
Leadtools.Annotations.Core.AnnFixedStateOperations operations
)
function Leadtools.Annotations.Rendering.AnnD2DLabelRenderer.RenderLabel(
mapper ,
label ,
operations
)
mapper
The mapper object to use for converting coordinates. Must not be null.
label
The label to render. Must not be null.
operations
The fixed state of the owner object.
This is the label renderer implementation for this platform. For more information, refer to IAnnLabelRenderer.RenderLabel.
This method is called by the framework to render the text labels of an annotation object. The following is performed by this implementation:
The values of AnnLabel.OriginalPosition is converted to physical coordinates by using mapper.AnnContainerMapper.PointFromContainerCoordinates
The size of the (AnnLabel.Text) label text is measured and clipped against the AnnRenderingEngine.ClipRectangle if the value of the AnnLabel.RestrictionMode property was set to AnnLabelRestriction.RestrictToContainer
Finally, the text label is rendered into the AnnRenderingEngine.Context property using the values of the AnnLabel.Font property for the text font style and size, the AnnLabel.Foreground property as the text color and the AnnLabel.Background property as the brush to fill the background of area covered by the text.
Products |
Support |
Feedback: RenderLabel Method (AnnD2DLabelRenderer) - 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.