bstorecontainer.cs

来自「Excel的操作,其中可以读取及写入Excel 文件」· CS 代码 · 共 61 行

CS
61
字号
using System;

namespace Microsoft.Fawvw.Components.NExcel.Biff.Drawing
{
	
	
	/// <summary> A BStoreContainer escher record</summary>
	class BStoreContainer:EscherContainer
	{
		/// <summary> Accessor for the number of blips
		/// 
		/// </summary>
		/// <returns> the number of blips
		/// </returns>
		virtual public int NumBlips
		{
			get
			{
				return numBlips;
			}
			
			/// <summary> Accessor for the drawing
			/// 
			/// </summary>
			/// <param name="i">the index number of the drawing to return
			/// </param>
			// [NON USATA]
			//  public void getDrawing(int i)
			//  {
			//    EscherRecord[] children = getChildren();
			//    BlipStoreEntry bse = (BlipStoreEntry) children[i];
			//  }
			
		}
		/// <summary> The number of blips inside this container</summary>
		private int numBlips;
		
		/// <summary> Constructor used to instantiate this object when reading from an
		/// escher stream
		/// 
		/// </summary>
		/// <param name="erd">the escher data
		/// </param>
		public BStoreContainer(EscherRecordData erd):base(erd)
		{
			numBlips = Instance;
		}
		
		/// <summary> Constructor used when writing out an escher record
		/// 
		/// </summary>
		/// <param name="count">the number of blips
		/// </param>
		public BStoreContainer(int count):base(EscherRecordType.BSTORE_CONTAINER)
		{
			numBlips = count;
			Instance = numBlips;
		}
	}
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?