UnicodeAuthor
IPDFDocument4 :: General document management :: Document properties

See Also Example
Collapse All

This property gets or sets additional information about the author of the current PDF document.

Syntax

BSTR UnicodeAuthor { get; set; }
Value
Unicode text string containing author information

Example

Setting Document Properties

Delphi
[copy to clipboard]
{ PDF object is supposed to be created }
PDF.ShowText('Hello, World!');
PDF.UnicodeAuthor := 'Doe, John';
PDF.UnicodeCreator := 'MyApplication v.1.0';
PDF.UnicodeKeywords := 'key,words';
PDF.UnicodeProducer := 'MyEngine v.2.1';
PDF.UnicodeSubject := 'Test';
PDF.UnicodeTitle := 'John''s biography';
PDF.SaveToFile('test.pdf', true);
C/C++
[copy to clipboard]
// PDF object is supposed to be created
PDF->ShowText("Hello, World!");
PDF->UnicodeAuthor = L"Doe, John";
PDF->UnicodeCreator = L"MyApplication v.1.0";
PDF->UnicodeKeywords = L"key,words";
PDF->UnicodeProducer = L"MyEngine v.2.1";
PDF->UnicodeSubject = L"Test";
PDF->UnicodeTitle = L"John's biography";
PDF->SaveToFile("test.pdf", true);
C#
[copy to clipboard]
// PDF object is supposed to be created
PDF.ShowText("Hello, World!");
PDF.UnicodeAuthor = "Doe, John";
PDF.UnicodeCreator = "MyApplication v.1.0";
PDF.UnicodeKeywords = "key,words";
PDF.UnicodeProducer = "MyEngine v.2.1";
PDF.UnicodeSubject = "Test";
PDF.UnicodeTitle = "John's biography";
PDF.SaveToFile("test.pdf", true);
Visual Basic
[copy to clipboard]
' PDF object is supposed to be created
PDF.ShowText "Hello, World!"
PDF.UnicodeAuthor = "Doe, John"
PDF.UnicodeCreator = "MyApplication v.1.0"
PDF.UnicodeKeywords = "key,words"
PDF.UnicodeProducer = "MyEngine v.2.1"
PDF.UnicodeSubject = "Test"
PDF.UnicodeTitle = "John's biography"
PDF.SaveToFile "test.pdf", true

See Also

Reference