←Select platform

DrawTickMarks Method

Summary
Draws the tick marks portion of the ruler.
Syntax
C#
VB
Objective-C
C++
Java
- (void)drawTickMarksMapper:(LTAnnContainerMapper *)mapper 
                      start:(LeadPointD)startPoint 
                        end:(LeadPointD)endPoint 
             tickMarklength:(LeadLengthD)length 
                       unit:(LTAnnUnit)unit 
                     stroke:(LTAnnStroke *)stroke 
                 operations:(LTAnnFixedStateOperations)operations 
protected void drawTickMarks(AnnContainerMapper mapper, 
                             LeadPointD startPoint, 
                             LeadPointD endPoint, 
                             LeadLengthD tickMarkLength, 
                             AnnUnit unit, 
                             AnnStroke stroke, 
                             int annFixedStateOperations) 
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, 
   ByVal rulerDpiX As Double, 
   ByVal rulerDpiY As Double 
) 

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.

rulerDpiX
The DPI of the X-axis ruler.

rulerDpiY
The DPI of the Y-axis ruler.

Remarks

The renderer calls this method to draw the tick marks of the ruler. Derived classes can override this method to provide their own implementation.

Requirements

Target Platforms

Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Rendering.WinForms Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.