Class PageSettings

Class PageSettings

名称: Aspose.Note.Saving 合計: Aspose.Note.dll (25.4.0)

ページのレイアウト設定を表します。

public class PageSettings

Inheritance

object PageSettings

相続人

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 });

高さ制限なしで A4 ページ配置で 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, "SaveToPdfUsingA4PageSettingsWithoutHeightLimit.pdf");

                                                                                               // Save the document.
                                                                                               oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.A4NoHeightLimit });

Properties

A4

A4形式のページの設定を取得します。

public static PageSettings A4 { get; }

不動産価値

PageSettings

A4NoHeightLimit

無制限の高さの A4 フォーマットページの設定を取得します。

public static PageSettings A4NoHeightLimit { get; }

不動産価値

PageSettings

Examples

高さ制限なしで A4 ページ配置で 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, "SaveToPdfUsingA4PageSettingsWithoutHeightLimit.pdf");

                                                                                               // Save the document.
                                                                                               oneFile.Save(dst, new PdfSaveOptions() { PageSettings = PageSettings.A4NoHeightLimit });

Letter

文字形式のページの設定を取得します。

public static PageSettings Letter { get; }

不動産価値

PageSettings

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; }

不動産価値

PageSettings

 日本語