PDF Tools SDK

## Pdf |

Classes

Class | Description | |
---|---|---|

SizePaperSizes | Constants for standard paper sizes |

Structures

Structure | Description | |
---|---|---|

Length | Struct that represents a measurable length. Provides conversion between units, parsing of string representations, and basic mathematical operations. The unit used in PDF documents is pt(Double) which is also used internally by the Length object to store length values. For that reason, when converting units from and to the internally used unit, minor numerical differences can occur due to floating-point arithmetic. | |

Margin | The margin defines the space around elements. The class is based on the respective distances left, bottom, right, and top of type Length. | |

Point | Struct that represents a point that is based on a X-coordinate and a Y-coordinate of type Length. Creates a Point object by parsing a string representation and creates a string representation of a Point object. | |

Rectangle | Struct that represents a rectangle that is based on a position (origin) of type Point and a size of type Size that spans the rectangle. | |

Resolution | The resolution defines the spatial dot density, e.g. of images. | |

Size | Struct that represents a size that is based on a width and height of type Length. Constructs from standard paper sizes, generates a string representation, and sets portrait and landscape mode. |