GetPageRotation
PdfPageEditor.GetPageRotation method
Belirtilen sayfanın dönüşünü döndürür.
public int GetPageRotation(int page)
Parametre | Tip | Tanım |
---|---|---|
page | Int32 | Sayfa 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
- class PdfPageEditor
- ad alanı Aspose.Pdf.Facades
- toplantı Aspose.PDF