get_column_width method
Leave feedback
On this page
Gets 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
from groupdocs.watermark.options.spreadsheet import SpreadsheetLoadOptions
import groupdocs.watermark.contents.spreadsheet as gwc_xls
load_options = SpreadsheetLoadOptions()
with gw.Watermarker("spreadsheet.xlsx", load_options) as watermarker:
content = watermarker.get_content()
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.