Error processing SSI file
(Leadtools.Annotations.Rendering)

Show in webframe

DrawTickMarks Method (AnnD2DPolyRulerObjectRenderer)







The mapper to use for rendering.
The first (starting) point of the ruler.
The second (stopping) point of the ruler.
The length of the tick marks.
The unit of the ruler.
The stroke to use when drawing the ruler.
The fixed state of the owner object.
Draws the tick marks portion of the ruler.
Syntax
'Declaration
 
Protected Overridable Sub DrawTickMarks( _
   ByVal mapper As AnnContainerMapper, _
   ByVal startPoint As LeadPointD, _
   ByVal endPoint As LeadPointD, _
   ByVal tickMarkLength As LeadLengthD, _
   ByVal unit As AnnUnit, _
   ByVal stroke As AnnStroke, _
   ByVal operations As AnnFixedStateOperations _
) 
'Usage
 
Dim instance As AnnD2DPolyRulerObjectRenderer
Dim mapper As AnnContainerMapper
Dim startPoint As LeadPointD
Dim endPoint As LeadPointD
Dim tickMarkLength As LeadLengthD
Dim unit As AnnUnit
Dim stroke As AnnStroke
Dim operations As AnnFixedStateOperations
 
instance.DrawTickMarks(mapper, startPoint, endPoint, tickMarkLength, unit, stroke, operations)
 function Leadtools.Annotations.Rendering.AnnD2DPolyRulerObjectRenderer.DrawTickMarks( 
   mapper ,
   startPoint ,
   endPoint ,
   tickMarkLength ,
   unit ,
   stroke ,
   operations 
)

Parameters

mapper
The mapper to use for rendering.
startPoint
The first (starting) point of the ruler.
endPoint
The second (stopping) point of the ruler.
tickMarkLength
The length of the tick marks.
unit
The unit of the ruler.
stroke
The stroke to use when drawing the ruler.
operations
The fixed state of the owner object.
Remarks

This method is called by the renderer to draw the tick marks of the ruler. Derived classes can override this method to provide their own implementation.

Requirements

Target Platforms

See Also

Reference

AnnD2DPolyRulerObjectRenderer Class
AnnD2DPolyRulerObjectRenderer Members

Error processing SSI file
Leadtools.Annotations.Rendering requires a Document or Medical toolkit license and unlock key. For more information, refer to: LEADTOOLS Toolkit Features