PeachPDF

PeachPDF

PdfSize Struct

A resolved size in points, handed to a dynamic content callback (a Func<PdfSize,byte[]>/ Func<PdfSize,string> passed to IContainer.Image/IContainer.Svg) so it can generate content at exactly the size the container it’s placed in already resolves to, rather than a guessed fixed size - see those methods’ own doc comments for the size-resolution rules.

public readonly struct PdfSize
Constructors  
PdfSize(double, double) Creates a size of width by height points.
Properties  
Height The height, in points.
Width The width, in points.
Methods  
ToString() Returns this size formatted as "{Width}pt x {Height}pt".