回复 1楼hptj的帖子
请参考安装目录下面的接口帮助文档:
C:\Program Files (x86)\GrapeCity\Spread Studio 9\Docs\Windows Forms\FarPoint.Win.Spread.9.0.chm
1.VerticalAlignment和Font :
FarPoint.Win.Spread.Cell acell;
acell = fpSpread1.ActiveSheet.Cells[0, 0];
acell.VerticalAlignment = FarPoint.Win.Spread.CellVerticalAlignment.Top;
acell.Font = new Font("MS Sans Serif", 10, FontStyle.Bold);
2.应该是一个已知问题。请尝试使用以下解决方案:
this.fpSpread1.UndoManager.PerformUndoAction(((FarPoint.Win.Spread.UndoRedo.UndoAction)this.fpSpread1.GetActionMap().Get(SpreadActions.ClipboardPasteFormatting)).Clone());
谢谢! |