[LayerState.Id property 获取或设置 id. public int Id { get; set; } 也可以看看 class LayerState 命名空间 Aspose.PSD.FileFormats.Psd.Layers.Animation 部件 Aspose.PSD]