public class QueryTable
extends java.lang.Object
Example
//Instantiating a Workbook object
Workbook workbook = new Workbook();
//Obtaining the reference of the first worksheet
Worksheet worksheet = workbook.getWorksheets().get(0);
//Getting the first query table in the worksheet if exists
//QueryTable qt = worksheet.QueryTables[0];
//Getting display address of the query table.
//string address = qt.ResultRange.Address;
| Modifier and Type | Method and Description |
|---|---|
boolean |
getAdjustColumnWidth()
Returns or sets the AdjustColumnWidth of the object.
|
int |
getConnectionId()
Gets the connection id of the query table.
|
ExternalConnection |
getExternalConnection()
Gets the relate external connection.
|
java.lang.String |
getName()
Gets the name of querytable.
|
boolean |
getPreserveFormatting()
Returns or sets the PreserveFormatting of the object.
|
Range |
getResultRange()
Gets the range of the result.
|
void |
setAdjustColumnWidth(boolean value)
Returns or sets the AdjustColumnWidth of the object.
|
void |
setPreserveFormatting(boolean value)
Returns or sets the PreserveFormatting of the object.
|
public int getConnectionId()
public ExternalConnection getExternalConnection()
public java.lang.String getName()
public Range getResultRange()
public boolean getPreserveFormatting()
public void setPreserveFormatting(boolean value)
public boolean getAdjustColumnWidth()
public void setAdjustColumnWidth(boolean value)
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.
We guarantee a prompt response to any inquiry!
© Aspose Pty Ltd 2003-2025. All Rights Reserved.