Class PdfLoadedEllipseAnnotation
- Namespace
- Syncfusion.Pdf.Interactive
- Assembly
- Syncfusion.Pdf.Portable.dll
Represents the loaded Ellipse annotation class.
public class PdfLoadedEllipseAnnotation : PdfLoadedStyledAnnotation, INotifyPropertyChanged
- Inheritance
-
PdfLoadedEllipseAnnotation
- Implements
- Inherited Members
Properties
Border
Get or set the line border of the annotation.
public LineBorder Border { get; set; }
Property Value
Comments
Gets the annotation Comments history.
public PdfLoadedPopupAnnotationCollection Comments { get; }
Property Value
- PdfLoadedPopupAnnotationCollection
The Comments collection of the Ellipse annotation.
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfEllipseAnnotation
PdfLoadedEllipseAnnotation ellipse = document.Pages[0].Annotations[0] as PdfLoadedEllipseAnnotation;
//Get the comments collection
PdfLoadedPopupAnnotationCollection reviewCollection = ellipse.Comments;
//save the document
document.Save("EllipseAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfEllipseAnnotation
Dim ellipse As PdfLoadedEllipseAnnotation = document.Pages(0).Annotations(0)
'Get the comments collection
Dim commentsCollection As PdfLoadedPopupAnnotationCollection = ellipse.Comments
Next
'save the document
document.Save("EllipseAnnotation.pdf")
'Close the document.
document.Close(True)
- See Also
ReviewHistory
Gets the annotation review history.
public PdfLoadedPopupAnnotationCollection ReviewHistory { get; }
Property Value
- PdfLoadedPopupAnnotationCollection
The review collection of the Ellipse annotation.
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfEllipseAnnotation
PdfLoadedEllipseAnnotation ellipse = document.Pages[0].Annotations[0] as PdfLoadedEllipseAnnotation;
//Get the review collection
PdfLoadedPopupAnnotationCollection reviewCollection = ellipse.ReviewHistory;
//save the document
document.Save("EllipseAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfEllipseAnnotation
Dim ellipse As PdfLoadedEllipseAnnotation = document.Pages(0).Annotations(0)
'Get the review collection
Dim reviewCollection As PdfLoadedPopupAnnotationCollection = ellipse.ReviewHistory
Next
'save the document
document.Save("EllipseAnnotation.pdf")
'Close the document.
document.Close(True)
- See Also
Methods
Save()
Saves an annotation.
protected override void Save()