Class PdfLoadedCircleAnnotation
Represents the loaded Circle annotation class.
Inheritance
System.Object
PdfLoadedCircleAnnotation
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Portable.dll
Syntax
public class PdfLoadedCircleAnnotation : PdfLoadedStyledAnnotation, IPdfWrapper, INotifyPropertyChanged
Properties
Border
Get or set the border style of the annotation.
Declaration
public LineBorder Border { get; set; }
Property Value
Type |
---|
LineBorder |
BorderEffect
Get or set the border effect of the Circle annotation.
Declaration
public PdfBorderEffect BorderEffect { get; set; }
Property Value
Type |
---|
PdfBorderEffect |
Examples
Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"....\Annotations.pdf");
//Load the existing pdf circle annotation
PdfLoadedCircleAnnotation circle = document.Pages[0].Annotations[0] as PdfLoadedCircleAnnotation;
//Get and Set the border effect of the annotation
PdfBorderEffect borderEffect = circle.BorderEffect;
//save the document.
document.Save("PdfCircleAnnotation.pdf");
//Close the document.
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("....\Annotations.pdf")
'Load the existing pdf circle annotation
Dim circle As PdfLoadedCircleAnnotation = document.Pages(0).Annotations(0)
'Get and Set the border effect of the annotation
Dim borderEffect As PdfBorderEffect = circle.BorderEffect
'save the document.
document.Save("PdfCircleAnnotation.pdf")
'Close the document.
document.Close(True)
Comments
Gets the annotation comments history.
Declaration
public PdfLoadedPopupAnnotationCollection Comments { get; }
Property Value
Type | Description |
---|---|
PdfLoadedPopupAnnotationCollection | The Comments collection of the circle annotation. |
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfCircleAnnotation
PdfLoadedCircleAnnotation circle = document.Pages[0].Annotations[0] as PdfLoadedCircleAnnotation;
//Get the comments collection
PdfLoadedPopupAnnotationCollection commentsCollection = circle.Comments;
//save the document
document.Save("CircleAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfLoadedCircleAnnotation
Dim circle As PdfLoadedCircleAnnotation = document.Pages(0).Annotations(0)
'Get the Comment collection
Dim commentsCollection As PdfLoadedPopupAnnotationCollection = circle.Comments
Next
'save the document
document.Save("CircleAnnotation.pdf")
'Close the document.
document.Close(True)
See Also
ReviewHistory
Gets the annotation review history.
Declaration
public PdfLoadedPopupAnnotationCollection ReviewHistory { get; }
Property Value
Type | Description |
---|---|
PdfLoadedPopupAnnotationCollection | The review collection of the circle annotation. |
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfCircleAnnotation
PdfLoadedCircleAnnotation circle = document.Pages[0].Annotations[0] as PdfLoadedCircleAnnotation;
//Get the review collection
PdfLoadedPopupAnnotationCollection reviewCollection = circle.ReviewHistory;
//save the document
document.Save("CircleAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfLoadedCircleAnnotation
Dim circle As PdfLoadedCircleAnnotation = document.Pages(0).Annotations(0)
'Get the review collection
Dim reviewCollection As PdfLoadedPopupAnnotationCollection = circle.ReviewHistory
Next
'save the document
document.Save("CircleAnnotation.pdf")
'Close the document.
document.Close(True)
See Also
Methods
Save()
Saves an annotation.
Declaration
protected override void Save()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged