get_column_width method
Leave feedback
On this page
Returns the width of the specified column in points.
def get_column_width(self, column):
...
| Parameter | Type | Description |
|---|---|---|
| column | int |
The column index. |
Returns: float: The width of the column in points.
import groupdocs.watermark as gw
import groupdocs.watermark.contents.spreadsheet as gwc_xls
load_options = gw.SpreadsheetLoadOptions()
with gw.Watermarker("spreadsheet.xlsx", load_options) as watermarker:
content = watermarker.get_content(gwc_xls.SpreadsheetContent)
width = content.worksheets[0].get_column_width(0)
print(width)
- class
SpreadsheetWorksheet
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.