Overview
ComPDFKit PDF SDK supports drawing lines, polylines, and polygons with measurement information in PDF documents. This allows measuring distances, perimeters, and areas of specified sections in the document. By setting a scale factor, for example, defining one inch on the PDF document to correspond to one foot in actual distance, you can measure the actual dimensions of objects in architectural design drawings.
Benefits of ComPDFKit Measurement
- Comprehensive Tools: Utilize tools for straight lines, polylines, rectangles, and polygons to precisely draw and measure dimensions of complex graphics.
- Data Richness: Measure distances, perimeters, and areas, applicable to a wide range of scenarios.
- Configurable Properties: Set global scales freely, convert units, and adjust precision to meet specific requirements.
- Adjust Measurement Annotations: Adjust the scale, unit conversion, and precision of existing measurement annotations.
- Appearance Settings: Customize the appearance of measurement annotations, including lines, colors, fonts, and more.
- Fast UI Integration: Achieve swift integration and customization through extensible UI components.
ComPDFKit Measurement Features
Configure Measurement Properties
Before utilizing the measurement features, it is necessary to configure the scale, units, and precision.
The distance measurement tool allows your users to measure the distance between two points in a PDF.
Utilize the perimeter and area measurement tools to measure the perimeter and area of enclosed graphics in a PDF.
Adjust Existing Measurement Annotations
Fine-tune properties related to measurements in existing measurement annotations.