Class PdfAppearanceStream
- Namespace
- LMKit.Document.Annotations.Pdf
- Assembly
- LM-Kit.NET.dll
Renders a built annotation appearance (AppearanceElements) into a PDF appearance-stream: the content operators plus the resource requirements (transparency graphics states, fonts) the hosting form must declare. This is the PDF leg of the standard's appearance engine - the geometry is already final (rotation baked in by the builder); this class only changes coordinate conventions (top-left → bottom-left) and speaks the operator syntax.
public sealed class PdfAppearanceStream
- Inheritance
-
PdfAppearanceStream
- Inherited Members
Properties
- BBox
The appearance box in PDF page coordinates (bottom-left origin): x0, y0, x1, y1.
- Content
The content-stream operators.
- Fonts
Fonts the form's resources must declare, keyed by resource name.
- GraphicsStates
Transparency graphics states the form's resources must declare, keyed by resource name.
Methods
- BaseFontName(AnnotationFontFamily, AnnotationFontWeight, AnnotationFontStyle)
The standard face for a family/weight/style triple (the base-14 set every PDF renderer ships).
- Build(Annotation, double)
Builds the appearance stream of one record on a page of the given height (points). Returns null when the record's kind has no visual form (Link, unknown kinds).