Class PdfLoadedPolyLineAnnotation
- Namespace
- Syncfusion.Pdf.Interactive
- Assembly
- Syncfusion.Pdf.Portable.dll
Represents the PolyLine annotation
public class PdfLoadedPolyLineAnnotation : PdfLoadedStyledAnnotation, INotifyPropertyChanged
- Inheritance
-
PdfLoadedPolyLineAnnotation
- Implements
- Inherited Members
Properties
BeginLineStyle
Gets or sets the begin line style of the annotation.
public PdfLineEndingStyle BeginLineStyle { get; set; }
Property Value
Comments
Gets the annotation Comments history.
public PdfLoadedPopupAnnotationCollection Comments { get; }
Property Value
- PdfLoadedPopupAnnotationCollection
The Comments collection of the polyline annotation.
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfPolyLineAnnotation
PdfLoadedPolyLineAnnotation polyline = document.Pages[0].Annotations[0] as PdfLoadedPolyLineAnnotation;
//Get the Comments collection
PdfLoadedPopupAnnotationCollection CommentsCollection = polyline.Comments;
//save the document
document.Save("PdfPolyLineAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfPolyLineAnnotation
Dim polyline As PdfLoadedPolyLineAnnotation = document.Pages(0).Annotations(0)
'Get the Comments collection
Dim CommentsCollection As PdfLoadedPopupAnnotationCollection = polyline.Comments
'save the document
document.Save("PdfPolyLineAnnotation.pdf")
'Close the document.
document.Close(True)
- See Also
EndLineStyle
Gets or sets the end line style of the annotation.
public PdfLineEndingStyle EndLineStyle { get; set; }
Property Value
LineBorder
Gets the line border of the annotation.
public LineBorder LineBorder { get; set; }
Property Value
ReviewHistory
Gets the annotation review history.
public PdfLoadedPopupAnnotationCollection ReviewHistory { get; }
Property Value
- PdfLoadedPopupAnnotationCollection
The review collection of the polyline annotation.
Examples
//Load an existing document.
PdfLoadedDocument document = new PdfLoadedDocument(@"..\..\Annotations.pdf");
//Load the existing PdfPolyLineAnnotation
PdfLoadedPolyLineAnnotation polyline = document.Pages[0].Annotations[0] as PdfLoadedPolyLineAnnotation;
//Get the review collection
PdfLoadedPopupAnnotationCollection reviewCollection = polyline.ReviewHistory;
//save the document
document.Save("PdfPolyLineAnnotation.pdf");
//Close the docuemnt
document.Close(true);
'Load an existing document.
Dim document As New PdfLoadedDocument("..\..\Annotations.pdf")
'Load the existing PdfPolyLineAnnotation
Dim polyline As PdfLoadedPolyLineAnnotation = document.Pages(0).Annotations(0)
'Get the review collection
Dim reviewCollection As PdfLoadedPopupAnnotationCollection = polyline.ReviewHistory
'save the document
document.Save("PdfPolyLineAnnotation.pdf")
'Close the document.
document.Close(True)
- See Also
Methods
Save()
Saves an annotation.
protected override void Save()