Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Overview

Gets or sets the title of document.

string Document.Title { get; set; }

Example

var doc = $Documents.New('My Document');
doc.Files.AddPDF('<p>Hello</p>', 'report.pdf');

// Checking the title of a document. Currently, title is 'My Document':
var title = doc.Title;

// Changing the title of a document to 'Sample Document':
doc.Title = 'Sample Document';

Examples

var doc = $Documents.New('My Document');
doc.Files.AddPDF('<p>Hello</p>', 'report.pdf');

// Checking the title of a document. Currently, title is 'My Document':
var title = doc.Title;

// Changing the title of a document to 'Sample Document':
doc.Title = 'Sample Document';
  • No labels