Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Sets or returns the area of the worksheet that will be printed. Content outside of this area will not be printed.

(This is not supported for charts.)

Signature
C#C#
Wiki Markup
{description}
{excerpt}Sets or returns the area of the worksheet that will be printed. Content outside of this area will not be printed.

 _(This is not supported for charts.)_{excerpt}
{signature:C#}
 public Area PrintArea{ get; set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public Property PrintArea() As Area
Remarks

By default all of the content will be printed, and PrintArea will return an area covering the entire worksheet.

{signature}
{remarks}
By default all of the content will be printed, and PrintArea will return an area covering the entire worksheet.
{remarks}
{example}{code:csharp|title=C#}

          //--- Get PrintArea
          Area prntArea = ps.PrintArea;

          //--- Set PrintArea
          ps.PrintArea = prntArea;
        
{code}
{code:vb.net
|title=vb.net
}

          '--- Get PrintArea
          Dim prntArea As Area = ps.PrintArea

          '--- Set PrintArea
          ps.PrintArea = prntArea
        {code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle