TdxSpreadSheetTableView.PrintArea Property
Returns the Table View worksheet’s content print limitation area.
Declaration
property PrintArea: TRect read;
Property Value
Type |
---|
TRect |
Remarks
You can use this property to obtain the actually printed rectangular portion of the worksheet’s content. The PrintArea property value depends on the OptionsPrint.Source.Area.Assigned property value:
Value | PrintArea Returns | Description |
---|---|---|
False | The maximum available worksheet area, that is, the area whose width and height (in cells) equal dxSpreadSheetMaxColumnCount and dxSpreadSheetMaxRowCount global constant values, respectively. | The worksheet print area is not restricted. The actual printed area equals the Dimensions property value. |
True | The OptionsPrint.Source.Area.Rect property value. | The worksheet print area equals the PrintArea property value. |
Note
You can set the Spreadsheet or Report Designer control’s OptionsView.PrintAreas property to True to outline the worksheet’s custom print area.
See Also