Click or drag to resize

AnnotationBorder Class

This class represents the appearance of the border drawn for PDF annotations.
Examples
This is an example of how to create a RectangleAnnotation with round corners and a wide outline:
RectangleAnnotation annot = new RectangleAnnotation(bounds);
annot.Border = new AnnotationBorder(4, 4, 10, AnnotationBorder.EmpyDashPattern);
Inheritance Hierarchy
SystemObject
  Atalasoft.PdfDoc.Generating.AnnotationsAnnotationBorder

Namespace:  Atalasoft.PdfDoc.Generating.Annotations
Assembly:  Atalasoft.PdfDoc (in Atalasoft.PdfDoc.dll) Version: 11.4.0.9.0.377 (.NET 4.5.2, x86)
Syntax
public class AnnotationBorder

The AnnotationBorder type exposes the following members.

Constructors
Properties
  NameDescription
Public propertyCode exampleDashPattern
Gets or sets the dash pattern.
Public propertyStatic memberEmptyDashPattern
Gets the empty dash pattern. Using this as the dash pattern with generate a solid line.
Public propertyHorizontalCornerRadius
Gets or sets the horizontal corner radius in PDF units.
Public propertyVerticalCornerRadius
Gets or sets the vertical corner radius in PDF units.
Public propertyWidth
Gets or sets the width of the line in PDF units.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also