ApiExamples.ExRendering.PrintRangeWithDocumentName C# (CSharp) Метод

PrintRangeWithDocumentName() приватный Метод

private PrintRangeWithDocumentName ( ) : void
Результат void
        public void PrintRangeWithDocumentName()
        {
            //ExStart
            //ExFor:Document.Print(PrinterSettings, String)
            //ExSummary:Prints a range of pages along with the name of the document.
            Document doc = new Document(MyDir + "Rendering.doc");

            PrinterSettings printerSettings = new PrinterSettings();
            // Page numbers in the .NET printing framework are 1-based.
            printerSettings.FromPage = 1;
            printerSettings.ToPage = 3;

            doc.Print(printerSettings, "My Print Document.doc");
            //ExEnd
        }