Skip to content
Guides

Overview

The ComPDFKit PDF SDK supports drawing annotations of lines, polylines, and polygons with measurement information in PDF documents to measure distances, perimeters, and areas of specified parts in the document. By setting a scale, such as specifying that one inch on the PDF document corresponds to one foot in actual distance, you can measure the actual dimensions of objects in architectural design drawings.

Advantages of ComPDFKit Measurement

  • Complete Tools: Use line, polyline, rectangle, and polygon measurement tools to accurately draw and measure complex graphic dimensions.
  • Comprehensive Data: Measure distances, perimeters, and areas, suitable for various scenarios.
  • Configurable Properties: Freely set global scales, unit conversions, and precision settings.
  • Adjust Measurement Annotations: Adjust the scale, unit conversions, and precision of existing measurement annotations.
  • Set Appearance: Customize the line style, color, font, etc., of measurement annotations.
  • Rapid Integration of UI: Achieve rapid integration and customization through extensible UI components.

Features Supported by ComPDFKit Measurement

Configure Measurement Properties

Before using the measurement feature, configure the scale, units, and precision.

Measure Distance

The distance measurement tool allows your users to measure the distance between two points in the PDF.

Measure Perimeter and Area

Use the perimeter and area measurement tools to measure the perimeter and area of enclosed shapes in the PDF.

Adjust Existing Measurement Annotations

Adjust properties related to measurement in existing measurement annotations.