THPDFRotationFlattenInfo Record

Counts scanned pages, flattened rotations, and transformed annotations, destinations, and structure geometry

Declaration

THPDFRotationFlattenInfo= record
  ScannedPageCount: Integer;
  FlattenedPageCount: Integer;
  TransformedAnnotationCount: Integer;
  TransformedDestinationCount: Integer;
  TransformedStructureGeometryCount: Integer;
end;

Unit

HPDFDoc

Fields

FieldPurpose
ScannedPageCountPages selected by the page range and examined for a nonzero /Rotate value
FlattenedPageCountPages whose 90, 180, or 270 degree rotation was baked into content streams and reset to zero
TransformedAnnotationCountAnnotation rectangles remapped so they stay on the rotated page's visible area
TransformedDestinationCountLink and outline destination geometry remapped after the rotation change
TransformedStructureGeometryCountStructure tree geometry entries adjusted for the new orientation

Usage notes

Related APIs