skip navigation
  • Product Bundles

    DevCraft

    All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:

    • NEW: Design Kits for Figma
    • Online Training
    • Document Processing Library
    • Embedded Reporting for web and desktop

    Web

    Kendo UI UI for jQuery UI for Angular UI for React UI for Vue UI for Blazor UI for ASP.NET Core UI for ASP.NET MVC UI for ASP.NET AJAX

    Mobile

    UI for .NET MAUI

    Document Management

    Telerik Document Processing

    Desktop

    UI for .NET MAUI UI for WinUI UI for WinForms UI for WPF

    Reporting

    Telerik Reporting Telerik Report Server

    Testing & Mocking

    Test Studio Test Studio Dev Edition Telerik JustMock

    CMS

    Sitefinity

    UI/UX Tools

    ThemeBuilder Design System Kit Templates and Building Blocks

    Debugging

    Fiddler Fiddler Everywhere Fiddler Classic Fiddler Everywhere Reporter FiddlerCore

    Free Tools

    VB.NET to C# Converter Testing Framework
    View all products
  • Overview
  • Demos
  • Docs & Support
  • Pricing
  • Shopping cart
    • Account Overview
    • Your Licenses
    • Downloads
    • Support Center
    • Forum Profile
    • Payment Methods
    • Edit Profile
    • Log out
  • Login
  • Contact Us
  • Try now

Class PrintArea

Represents a print area.

Inheritance
System.Object
CellRangeInsertedOrRemovedAwareCollectionBase
CellRangeInsertedOrRemovedAwareOrderedCollection
PrintArea
Inherited Members
CellRangeInsertedOrRemovedAwareOrderedCollection.TranslateRange(CellRange, CellRange)
CellRangeInsertedOrRemovedAwareOrderedCollection.RangesList
CellRangeInsertedOrRemovedAwareOrderedCollection.CellRanges
CellRangeInsertedOrRemovedAwareCollectionBase.CanInsertOrRemove(ShiftType, CellRange, CellRange)
CellRangeInsertedOrRemovedAwareCollectionBase.ShouldTranslateUpDown(RangeType)
CellRangeInsertedOrRemovedAwareCollectionBase.ShouldTranslateLeftRight(RangeType)
CellRangeInsertedOrRemovedAwareCollectionBase.TranslateRanges(Dictionary<CellRange, CellRange>)
CellRangeInsertedOrRemovedAwareCollectionBase.Cells
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Telerik.Windows.Documents.Spreadsheet.Model.Printing
Assembly: Telerik.Windows.Documents.Spreadsheet.dll

Syntax

public class PrintArea : CellRangeInsertedOrRemovedAwareOrderedCollection

Properties

HasPrintAreaRanges

Gets the value indicating whether there are print ranges.

Declaration
public bool HasPrintAreaRanges { get; }
Property Value
System.Boolean

The value indicating whether there are print ranges.

Ranges

Gets the ranges to print.

Declaration
public IEnumerable<CellRange> Ranges { get; }
Property Value
System.Collections.Generic.IEnumerable<CellRange>

The ranges to print.

Methods

CanAddToPrintArea(IEnumerable<CellRange>)

Determines whether the specified ranges can be added.

Declaration
public bool CanAddToPrintArea(IEnumerable<CellRange> ranges)
Parameters
System.Collections.Generic.IEnumerable<CellRange> ranges

The ranges.

Returns
System.Boolean

The value indicating wheter the specified ranges can be added.

CanAddToPrintArea(CellRange)

Determines whether the specified range can be added.

Declaration
public bool CanAddToPrintArea(CellRange range)
Parameters
CellRange range

The range.

Returns
System.Boolean

The value indicating wheter the specified range can be added.

Clear()

Clears this instance.

Declaration
public void Clear()

Insert(Int32, CellRange)

Inserts the specified index.

Declaration
protected override void Insert(int index, CellRange range)
Parameters
System.Int32 index

The index.

CellRange range

The range.

Overrides
CellRangeInsertedOrRemovedAwareOrderedCollection.Insert(Int32, CellRange)

OnAfterTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

Called after translation.

Declaration
protected override void OnAfterTranslation(Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions, CellRange rangeToInsertOrRemove, ShiftType shiftType)
Parameters
System.Collections.Generic.Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions

The old and new translated ranges positions.

CellRange rangeToInsertOrRemove

The range to insert or remove.

ShiftType shiftType

Type of the shift.

Overrides
CellRangeInsertedOrRemovedAwareCollectionBase.OnAfterTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

OnBeforeTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

Called before translation.

Declaration
protected override void OnBeforeTranslation(Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions, CellRange rangeToInsertOrRemove, ShiftType shiftType)
Parameters
System.Collections.Generic.Dictionary<CellRange, CellRange> oldAndNewTranslatedRangesPositions

The old and new translated ranges positions.

CellRange rangeToInsertOrRemove

The range to insert or remove.

ShiftType shiftType

Type of the shift.

Overrides
CellRangeInsertedOrRemovedAwareCollectionBase.OnBeforeTranslation(Dictionary<CellRange, CellRange>, CellRange, ShiftType)

RemoveCellRangeAt(Int32)

Removes the cell range at.

Declaration
protected override void RemoveCellRangeAt(int index)
Parameters
System.Int32 index

The index.

Overrides
CellRangeInsertedOrRemovedAwareOrderedCollection.RemoveCellRangeAt(Int32)

SetPrintArea(IEnumerable<CellRange>)

Sets the print area.

Declaration
public void SetPrintArea(IEnumerable<CellRange> ranges)
Parameters
System.Collections.Generic.IEnumerable<CellRange> ranges

The ranges.

SetPrintArea(CellRange)

Sets the print area.

Declaration
public void SetPrintArea(CellRange range)
Parameters
CellRange range

The range.

TryAddToPrintArea(IEnumerable<CellRange>)

Tries to add to print area.

Declaration
public bool TryAddToPrintArea(IEnumerable<CellRange> ranges)
Parameters
System.Collections.Generic.IEnumerable<CellRange> ranges

The ranges.

Returns
System.Boolean

TryAddToPrintArea(CellRange)

Tries to add to print area.

Declaration
public bool TryAddToPrintArea(CellRange range)
Parameters
CellRange range

The range.

Returns
System.Boolean

Getting Started
  • Getting Started
Support Resources
  • Documentation
Community
  • Forums
  • Blogs
  • Document Processing Feedback Portal

Copyright © 2018 Progress Software Corporation and/or its subsidiaries or affiliates.
All Rights Reserved.

Progress, Telerik, and certain product names used herein are trademarks or registered trademarks of Progress Software Corporation and/or one of its subsidiaries or affiliates in the U.S. and/or other countries. See Trademarks for appropriate markings.