Duration

Page.Duration property

Gets of set page display duration. This is time in seconds that page shall be displayed during presentation. Returs -1 if duration is not defined.

public double Duration { get; set; }

Examples

Example demonstrates how to get page duration

Document document = new Document("sample.pdf");
Page page = document.Pages[1];
int pageRect = page.Duration;

See Also