Class PdfLineAnnotation.Keys
- Namespace
- PdfSharp.Pdf.Annotations
- Assembly
- PdfSharp.dll
Predefined keys of this dictionary.
public class PdfLineAnnotation.Keys : PdfAnnotation.Keys
- Inheritance
-
objectPdfLineAnnotation.Keys
- Inherited Members
Fields
- BS
(Optional) A border style dictionary specifying the width and dash pattern that shall be used in drawing the line.
- CO
(Optional; meaningful only if Cap is true; PDF 1.7) An array of two numbers that shall specify the offset of the caption text from its normal position. The first value shall be the horizontal offset along the annotation line from its midpoint, with a positive value indicating offset to the right and a negative value indicating offset to the left. The second value shall be the vertical offset perpendicular to the annotation line, with a positive value indicating a shift up and a negative value indicating a shift down. Default value: [0, 0] (no offset from normal positioning)
- CP
(Optional; meaningful only if Cap is true; PDF 1.7) A name describing the annotation’s caption positioning. Valid values are Inline, meaning the caption shall be centred inside the line, and Top, meaning the caption shall be on top of the line. Default value: Inline
- Cap
(Optional; PDF 1.6) If true, the text specified by the Contents or RC entries shall be replicated as a caption in the appearance of the line. The text shall be rendered in a manner appropriate to the content, taking into account factors such as writing direction. Default value: false.
- IC
(Optional; PDF 1.4) An array of numbers in the range 0.0 to 1.0 specifying the interior colour that shall be used to fill the annotation’s line endings. The number of array elements shall determine the colour space in which the colour is defined: 0 No colour; transparent 1 DeviceGray 3 DeviceRGB 4 DeviceCMYK
- IT
(Optional; PDF 1.6) A name describing the intent of the line annotation. Valid values shall be LineArrow, which means that the annotation is intended to function as an arrow, and LineDimension, which means that the annotation is intended to function as a dimension line.
- L
(Required) An array of four numbers, [x1 y1 x2 y2], specifying the starting and ending coordinates of the line in default user space. If the LL entry is present, this value shall represent the endpoints of the leader lines rather than the endpoints of the line itself.
- LE
(Optional; PDF 1.4) An array of two names specifying the line ending styles that shall be used in drawing the line. The first and second elements of the array shall specify the line ending styles for the endpoints defined, respectively, by the first and second pairs of coordinates, (x1, y1 ) and (x2, y2 ), in the L array. "Table 179 — Line ending styles" shows the permitted values. Default value: [ /None /None ].
- LL
(Required if LLE is present, otherwise optional; PDF 1.6) The length of leader lines in default user space that extend from each endpoint of the line perpendicular to the line itself. A positive value shall mean that the leader lines appear in the direction that is clockwise when traversing the line from its starting point to its ending point (as specified by L); a negative value shall indicate the opposite direction. Default value: 0 (no leader lines).
- LLE
(Optional; PDF 1.6) A non-negative number that shall represent the length of leader line extensions that extend from the line proper 180 degrees from the leader lines. Default value: 0 (no leader line extensions).
- LLO
(Optional; PDF 1.7) A non-negative number that shall represent the length of the leader line offset, which is the amount of empty space between the endpoints of the annotation and the beginning of the leader lines.
- Measure
(Optional; PDF 1.7) A measure dictionary that shall specify the scale and units that apply to the line annotation.