AnnotBorder
From PDF XChange PDF SDK
(→Sample) |
(→Options Table) |
||
Line 20: | Line 20: | ||
| class="op_enum_value" | '''0''' (Solid) || A solid border surrounding the annotation | | class="op_enum_value" | '''0''' (Solid) || A solid border surrounding the annotation | ||
|- | |- | ||
− | | class="op_enum_value" | '''1''' (Dashed) || A dashed rectangle surrounding the annotation. The dash | + | | class="op_enum_value" | '''1''' (Dashed) || A dashed rectangle surrounding the annotation. The dash pattern may be specified by the '''D''' entry. |
− | pattern may be specified by the '''D''' entry. | + | |
|- | |- | ||
| class="op_enum_value" | '''2''' (Bevelled) || A simulated embossed rectangle that appears to be raised above the surface of the page. | | class="op_enum_value" | '''2''' (Bevelled) || A simulated embossed rectangle that appears to be raised above the surface of the page. |
Revision as of 05:26, 1 March 2016
Options Table
Name | Type | Value | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
S | Integer | Specifies the annotation's border style
Possible values are:
Default value: 0 (Solid) | ||||||||||
E | Integer | Specifies the annotation's border style effect
Possible values are:
Default value: 0 (Solid) | ||||||||||
EL | Double | Specifies the effect level.
Default value: 1.0 | ||||||||||
W | Double | Specifies the border width.
Default value: 1.0 | ||||||||||
D | Array | Array of Double
Specifies the dash array defining a pattern of dashes and gaps that shall be used in drawing a dashed border. |
Sample
//C# var border = new PDFXEdit.PXC_AnnotBorder(); border.nStyle = PDFXEdit.PXC_AnnotBorderStyle.ABS_Dashed; border.nWidth = 4.0f; border.DashArray = new float[10]; border.DashArray[0] = border.DashArray[1] = 16.0f; //Width of dashes border.nDashCount = 2; //Number of dashes