VintaSoft Imaging .NET SDK 15.1: Documentation for .NET developer
Vintasoft.Imaging.Office.OpenXml.Editor.Xlsx Namespace / XlsxDocumentSheet Class / SetCommentLocation(Int32,Int32,SheetDrawingLocation,XlsxDocumentSheetCellCommentTransformType) Method
Syntax Exceptions Requirements SeeAlso
In This Topic
SetCommentLocation(Int32,Int32,SheetDrawingLocation,XlsxDocumentSheetCellCommentTransformType) Method (XlsxDocumentSheet)
In This Topic
Sets the comment location.
Syntax
'Declaration

Public Sub SetCommentLocation( _
ByVal columnIndex
The index of column that contains cell.
As System.Int32, _
ByVal rowIndex
The index of row that contains cell.
As System.Int32, _
ByVal location
The comment location.
As Vintasoft.Imaging.Office.Spreadsheet.Document.SheetDrawingLocation, _
ByVal transformType
The transform type for cell comment.
As XlsxDocumentSheetCellCommentTransformType _
)

Parameters

columnIndex
The index of column that contains cell.
rowIndex
The index of row that contains cell.
location
The comment location.
transformType
The transform type for cell comment.
Exceptions
ExceptionDescription
Thrown if columnIndex is less than zero -or- columnIndex is equal to or greater 16383.
Thrown if rowIndex is less than zero -or- rowIndex is equal to or greater 1048575.
Thrown if location is null.
Thrown if location is not correct.
Requirements

Target Platforms: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5

See Also