GetPageRotation

PdfPageEditor.GetPageRotation method

Belirtilen sayfanın dönüşünü döndürür.

public int GetPageRotation(int page)
ParametreTipTanım
pageInt32Sayfa dizini. Belge sayfaları 1’den itibaren numaralandırılmıştır.

Geri dönüş değeri

Derece cinsinden sayfa döndürme.

Örnekler

Aşağıdaki örnek, sayfa döndürmenin nasıl alınacağını gösterir:

PdfPageEditor editor = new PdfPageEditor();
editor.BindPdf("sample.pdf");
int rotation = editor.GetPageSize(1);
Console.WriteLine("Rotation of 1st page : " + rotation + " degrees");        

Ayrıca bakınız