Class PdfLoadedPolyLineAnnotation
Represents the PolyLine annotation
Inheritance
System.Object
PdfLoadedPolyLineAnnotation
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.Base.dll
Syntax
public class PdfLoadedPolyLineAnnotation : PdfLoadedStyledAnnotation, IPdfWrapper, INotifyPropertyChanged
Properties
BeginLineStyle
Gets or sets the begin line style of the annotation.
Declaration
public PdfLineEndingStyle BeginLineStyle { get; set; }
Property Value
Type |
---|
PdfLineEndingStyle |
Comments
Gets the annotation Comments history.
Declaration
public PdfLoadedPopupAnnotationCollection Comments { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
public PdfLineEndingStyle EndLineStyle { get; set; }
Property Value
Type |
---|
PdfLineEndingStyle |
LineBorder
Gets the line border of the annotation.
Declaration
public LineBorder LineBorder { get; set; }
Property Value
Type |
---|
LineBorder |
ReviewHistory
Gets the annotation review history.
Declaration
public PdfLoadedPopupAnnotationCollection ReviewHistory { get; }
Property Value
Type | Description |
---|---|
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.
Declaration
protected override void Save()
Overrides
Implements
System.ComponentModel.INotifyPropertyChanged