[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IPageSetup.PrintArea

PrintArea Property

PrintArea

Gets or sets the range to be printed, as a string using A1-style references in the language of the macro.

If the print area is not specified, the used range of the worksheet is printed by default.

Declaration
string PrintArea { get; set; }
Property PrintArea As String
Examples
IPageSetup pageSetup = worksheet.PageSetup;
pageSetup.PrintArea = "$A$1:$C$10";
string printArea = pageSetup.PrintArea;