Class PageSettings
نام ها : Aspose.Note.Saving جمع آوری: WL31_.dll (25.4.0)
تنظیمات طرح برای یک صفحه را نشان می دهد.
public class PageSettings
Inheritance
اعضای ارثی
object.GetType() , object.MemberwiseClone() , object.ToString() , object.Equals(object?) , object.Equals(object?, object?) , object.ReferenceEquals(object?, object?) , object.GetHashCode()
Examples
نشان می دهد که چگونه یک سند را در فرمت PDF با طرح صفحه نامه ذخیره کنید.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
// Load the document into Aspose.Note.
Document oneFile = new Document(dataDir + "OneNote.one");
var dst = Path.Combine(dataDir, "SaveToPdfUsingLetterPageSettings.pdf");
// Save the document.
oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.Letter });
نشان می دهد که چگونه برای ذخیره یک سند در فرمت PDF با طرح صفحه A4 بدون محدودیت ارتفاع.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
// Load the document into Aspose.Note.
Document oneFile = new Document(dataDir + "OneNote.one");
var dst = Path.Combine(dataDir, "SaveToPdfUsingA4PageSettingsWithoutHeightLimit.pdf");
// Save the document.
oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.A4NoHeightLimit });
Properties
A4
تنظیمات را برای صفحه فرمت A4 دریافت کنید.
public static PageSettings A4 { get; }
ارزش املاک
A4NoHeightLimit
تنظیمات را برای صفحه A4 با ارتفاع نامحدود دریافت می کند.
public static PageSettings A4NoHeightLimit { get; }
ارزش املاک
Examples
نشان می دهد که چگونه برای ذخیره یک سند در فرمت PDF با طرح صفحه A4 بدون محدودیت ارتفاع.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
// Load the document into Aspose.Note.
Document oneFile = new Document(dataDir + "OneNote.one");
var dst = Path.Combine(dataDir, "SaveToPdfUsingA4PageSettingsWithoutHeightLimit.pdf");
// Save the document.
oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.A4NoHeightLimit });
Letter
تنظیمات را برای صفحه فرمت نامه دریافت می کند.
public static PageSettings Letter { get; }
ارزش املاک
Examples
نشان می دهد که چگونه یک سند را در فرمت PDF با طرح صفحه نامه ذخیره کنید.
// The path to the documents directory.
string dataDir = RunExamples.GetDataDir_LoadingAndSaving();
// Load the document into Aspose.Note.
Document oneFile = new Document(dataDir + "OneNote.one");
var dst = Path.Combine(dataDir, "SaveToPdfUsingLetterPageSettings.pdf");
// Save the document.
oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.Letter });
LetterNoHeightLimit
تنظیمات را برای صفحه فرمت نامه با ارتفاع نامحدود دریافت می کند.
public static PageSettings LetterNoHeightLimit { get; }