SetPageTransition
Page properties, page layout
Açıklama
Lütfen işlevi çağırmadan önce sözdizimini (syntax), parametreleri ve dönüş değerini inceleyin.
Sözdizimi
Function TPDFlib.SetPageTransition(Page: Integer; Transition: TPDFlibPageTransition; Duration, TransDuration: Double): Integer;Parametreler
| Page | 1 tabanlı sayfa numarası; 1'in altındaki değerler reddedilir |
|---|---|
| Transition | Eski efekt sabiti: ptNone, ptSplitHIn, ptSplitHOut, ptSplitVIn, ptSplitVOut, ptBlindsH, ptBlindsV, ptBoxIn, ptBoxOut, ptWipeLeftRight, ptWipeRightLeft, ptWipeTopBottom, ptWipeBottomTop, ptDissolve, ptGlitterLeftRight, ptGlitterTopBottom veya ptGlitterDiagonal |
| Duration | Saniye cinsinden sayfa gösterim süresi; negatif değer çağrıyı reddeder |
| TransDuration | Saniye cinsinden geçiş efekti süresi; negatif değer çağrıyı reddeder |
Dönüş değerleri
| 1 | Geçiş ve sayfa süresi yazıldı |
|---|---|
| 0 | Belge seçili değil, sayfa numarası geçersiz ya da bir süre negatif |
Açıklamalar
Wipe ve Glitter yönleri /Di içinde saklanır; ptNone hem /Trans hem de sayfa düzeyindeki /Dur girdisini temizler ve bu standart stiller PDF 1.5'i zorunlu kılmaz
Değiştirme, Fly, Push, Cover, Uncover, Fade, ölçek ve dikdörtgen Fly seçenekleri için SetPageTransitionEx kullanın