Note.Author Property

Gets or sets the author of the note.

public string Author { get; set; }
Public Property Author As String

Property Value

String

Licensing Info

This property is a full DynamicPDF Core Suite feature. One of the following is required for non-evaluation usage:

Examples

This example show how add Note with an Author
Imports System
Imports ceTe.DynamicPDF
Imports ceTe.DynamicPDF.PageElements
     
Module MyModule
	Sub NoteWithAuthor(outputPath As String)

        'Create a PDF Document
        Dim document As Document = New Document()

        'Create a Page and add it to the document
        Dim page As Page = New Page()
        document.Pages.Add(page)

        'Create a note and add Author
        Dim note As Note = New Note("This is my help note.", 10, 100, 10, 100)
        note.Author = "Cete Software"

        'Add the note to the page
        page.Elements.Add(note)

        'Save the pdf
        document.Draw(outputPath)
    End Sub
End Module
using System;
using ceTe.DynamicPDF;
using ceTe.DynamicPDF.PageElements;

public class Example
{
	public static void NoteWithAuthor(string outputPath)
    {
        // Create a PDF Document
        Document document = new Document();

        // Create a Page and add it to the document
        Page page = new Page();
        document.Pages.Add(page);

        // Create a note and add Author
        Note note = new Note("This is my help note.", 10, 100, 10, 100);
        note.Author = "Cete Software";

        // Add the note to the page
        page.Elements.Add(note);

        // Save the pdf
        document.Draw(outputPath);

    }
}

See Also

Note
ceTe.DynamicPDF.PageElements

In this topic