Description |
---|
Excerpt |
---|
A boolean value indicating whether or not to copy cell formatting. Cell formatting includes font, color, number formatting, fill color, fill pattern and borders. |
Signature | ||||
---|---|---|---|---|
| ||||
public boolean CopyFormatting{ get; set; } |
Signature | ||||
---|---|---|---|---|
| ||||
Public Property CopyFormatting() As Boolean |
Example |
---|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
//--- Is the property object set to copy cell formatting?
boolean willCopyFormatting = copyPasteProperties.CopyFormatting;
//--- Set the property object to copy cell formatting.
copyPasteProperties.CopyFormatting = true;
|
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
'--- Is the property object set to copy cell formatting?
Dim willCopyFormatting As Boolean = copyPasteProperties.CopyFormatting
'--- Set the property object to copy cell formatting.
copyPasteProperties.CopyFormatting = True
|
Example |
---|