java.lang.Object
com.aspose.cells.QueryTable
public class QueryTable
- extends java.lang.Object
Represents QueryTable information.
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
QueryTable qt = worksheet.getQueryTables().get(0);
//Getting display address of the query table.
String address = qt.getResultRange().getAddress();
|
Property Getters/Setters Detail |
getConnectionId | |
public int getConnectionId()
|
-
Gets the connection id of the query table.
-
Gets the relate external connection.
getName | |
public java.lang.String getName()
|
-
Gets the name of querytable.
getResultRange | |
public Range getResultRange()
|
-
Gets the range of the result.
- Returns:
getPreserveFormatting/setPreserveFormatting | |
public boolean getPreserveFormatting() / public void setPreserveFormatting(boolean value)
|
-
Returns or sets the PreserveFormatting of the object.
setPreserveFormatting | |
public void setPreserveFormatting(boolean value)
|
-
Returns or sets the PreserveFormatting of the object.
getAdjustColumnWidth/setAdjustColumnWidth | |
public boolean getAdjustColumnWidth() / public void setAdjustColumnWidth(boolean value)
|
-
Returns or sets the AdjustColumnWidth of the object.
setAdjustColumnWidth | |
public void setAdjustColumnWidth(boolean value)
|
-
Returns or sets the AdjustColumnWidth of the object.
See Also:
Aspose.Cells Documentation - the home page for the Aspose.Cells Product Documentation.
Aspose.Cells Support Forum - our preferred method of support.