| Visual Basic (Declaration) | |
|---|---|
Public Property ColStart As Integer | |
| Visual Basic (Usage) | Copy Code |
|---|---|
| |
| C# | |
|---|---|
public int ColStart {get; set;} | |
Return Value
Integer index of the starting columnThis example shows how to specify that only part of the sheet prints.
| C# | Copy Code |
|---|---|
// Typically, not all of these settings are used together but are included here for illustration purposes | |
| Visual Basic | Copy Code |
|---|---|
' Typically, not all of these settings are used together but are included here for illustration purposes | |
If you have set the PrintType property to PrintType.CellRange, set the ColStart, ColEnd, RowStart, and RowEnd properties to specify the range of cells to print.
This property does not have an effect unless the PrintType property is set to PrintType.CellRange.
Reference
PrintInfo ClassPrintInfo Members
ColStart Property
PrintType Property
RowEnd Property
RowStart Property
User-Task Documentation
Printing OptionsPrinting a Range of Cells