PdfPageEditor.GetPageRotation
طريقة PdfPageEditor.GetPageRotation
تعيد دوران الصفحة المحددة.
public int GetPageRotation(int page)
| المعامل | النوع | الوصف |
|---|---|---|
| page | Int32 | فهرس الصفحة. يتم ترقيم صفحات الوثيقة من 1. |
قيمة الإرجاع
دوران الصفحة بالدرجات.
أمثلة
المثال التالي يوضح كيفية الحصول على دوران الصفحة:
PdfPageEditor editor = new PdfPageEditor();
editor.BindPdf("sample.pdf");
int rotation = editor.GetPageSize(1);
Console.WriteLine("Rotation of 1st page : " + rotation + " degrees");
انظر أيضًا
- class PdfPageEditor
- namespace Aspose.Pdf.Facades
- assembly Aspose.PDF