ProcessAppearance(PdfFormXObject, ContentProcessor, ContentOptions) Method

Definition

Assembly Broadside.dll

Runs one of this annotation's appearance streams through the content interpreter, placed on the annotation rectangle, with limits and cancellation.

public bool ProcessAppearance(PdfFormXObject appearance, ContentProcessor processor, ContentOptions options)

Parameters

appearance
PdfFormXObject

The appearance, such as GetAppearance() or one state of AppearanceDictionary.

processor
ContentProcessor

The processor; for several at once, a CompositeContentProcessor.

options
ContentOptions

Limits and cancellation for the run.

Returns

Boolean
true when the appearance ran; false when nothing can be drawn (GetAppearanceMatrix(PdfFormXObject) is null).

Remarks

ISO 32000-2 §12.5.5, Algorithm "Appearance streams", and §8.10.1: one top-level run of kind Appearance in default user space, from the initial graphics state with the CTM set to the matrix AA (GetAppearanceMatrix(PdfFormXObject); the form matrix is part of it and is not applied again), the clip intersected with the form's BBox in form space, names resolving in the form's resources (the page's when it has none, with AppearanceResourcesMissing: §7.8.3 requires an appearance's own). An appearance that draws itself is not run inside itself (ContentFormCycle). NoZoom, NoRotate, optional content and the annotation's transparency group are the caller's.