GetAppearanceMatrix(PdfFormXObject) Method

Definition

Assembly Broadside.dll

Computes the matrix that places appearance on the annotation rectangle (§12.5.5).

public Matrix? GetAppearanceMatrix(PdfFormXObject appearance)

Parameters

appearance
PdfFormXObject

One of this annotation's appearances.

Returns

Nullable<Matrix>
The matrix from form space to default user space, or null when nothing can be drawn.

Remarks

ISO 32000-2 §12.5.5, as ComputeAppearanceMatrix(PdfRectangle, PdfRectangle, Matrix) with Rect. An appearance without a bounding box uses [0 0 width height] of the rectangle, as pdf.js does. NoZoom, NoRotate and a watermark's FixedPrint add transformations of their own, which are the renderer's.