您好,
copy的时候,可以选择复制的类型。
- activeSheet.copyTo(0,0,1,1,2,2,GcSpread.Sheets.CopyToOption.Value);
复制代码
CopyToOption Enumeration
All Indicates all types of data.
BindingPath Indicates the type of data is a binding path.
Comment Indicates the type of data is a comment.
ConditionalFormat Indicates the type of data is a conditional format.
Formula Indicates the type of data is a formula.
RangeGroup Indicates to copy a range group.
Span Indicates to copy a span.
Sparkline Indicates the type of data is a sparkline.
Style Indicates the type of data is a style.
Tag Indicates the type of data is a tag.
Value Indicates the type of data is pure data. |