Class PdfLineIntent
Specifies the Line Intent Style is to be used in the line annotation.
Inheritance
System.Object
PdfLineIntent
Namespace: Syncfusion.Pdf.Interactive
Assembly: Syncfusion.Pdf.NET.dll
Syntax
public sealed class PdfLineIntent : Enum
Examples
//Create a new PDF document.
PdfDocument document = new PdfDocument();
//Create a new page.
PdfPage page = document.Pages.Add();
//To specify the line end points
int[] points = new int[] { 80, 420, 150, 420 };
//Create a new line annotation.
PdfLineAnnotation lineAnnotation = new PdfLineAnnotation(points, "Line Annoation");
//Set the pdf line indent.
lineAnnotation.LineIntent = PdfLineIntent.LineArrow;
//Add this annotation to a new page.
page.Annotations.Add(lineAnnotation);
//Save the document to disk.
document.Save("Output.pdf");
//close the document
document.Close(true);
'Create a new PDF document.
Dim document As New PdfDocument()
'Create a new page.
Dim page As PdfPage = document.Pages.Add()
'To specify the line end points
Dim points() As Integer = { 80, 420, 150, 420 }
'Create a new line annotation.
Dim lineAnnotation As New PdfLineAnnotation(points, "Line Annoation")
'Set the pdf line indent.
lineAnnotation.LineIntent = PdfLineIntent.LineArrow
'Add this annotation to a new page.
page.Annotations.Add(lineAnnotation)
'Save the document to disk.
document.Save("Output.pdf")
'close the document
document.Close(True)
Fields
LineArrow
Indicates Line Arrow as intent of the line annotation
Declaration
public const PdfLineIntent LineArrow
Field Value
Type |
---|
PdfLineIntent |
LineDimension
Indicates LineDimension as intent of the line annotation
Declaration
public const PdfLineIntent LineDimension
Field Value
Type |
---|
PdfLineIntent |