PageSettings.Letter

PageSettings.Letter property

Gets settings for the Letter-format page.

public static PageSettings Letter { get; }

Examples

Shows how to save a document in Pdf format with Letter page layout.

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

See Also