PageDuration 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.

Namespace: Aspose.Pdf
Assembly: Aspose.PDF (in Aspose.PDF.dll) Version: 21.9.0
Syntax
public double Duration { get; set; }

Property Value

Type: Double
Examples
Example demonstrates how to get page duration
C#
Document document = new Document("sample.pdf");
Page page = document.Pages[1];
int pageRect = page.Duration;
See Also