コード例 #1
0
ファイル: XlsBiffBoundSheet.cs プロジェクト: east-eden/excel
 internal XlsBiffBoundSheet(uint startOffset, SheetType type, SheetVisibility visibleState, string name)
     : base(new byte[32])
 {
     StartOffset  = startOffset;
     Type         = type;
     VisibleState = visibleState;
     _sheetName   = new XlsInternalString(name);
 }
コード例 #2
0
ファイル: State.cs プロジェクト: LdwgWffnschmdt/CykeMaps
        public override string ToString()
        {
            var builder = new StringBuilder();

            builder.AppendLine("------------------------STATE------------------------");
            builder.AppendLine("Sheet: " + ((Sheet == null) ? "null" : Sheet.ToString()));
            builder.AppendLine("SheetVisibility: " + SheetVisibility.ToString());
            builder.AppendLine("MapCenter: " + ((MapCenter == null) ? "null" : (MapCenter.Position.Latitude.ToString() + ", " + MapCenter.Position.Longitude.ToString())));
            builder.AppendLine("MapZoomLevel: " + MapZoomLevel.ToString());
            builder.AppendLine("MapPitch: " + MapPitch.ToString());
            builder.AppendLine("MapHeading: " + MapHeading.ToString());
            builder.AppendLine("HasSheet: " + HasSheet.ToString());
            builder.AppendLine("HasSheetVisibility: " + HasSheetVisibility.ToString());
            builder.AppendLine("HasMapCenter: " + HasMapCenter.ToString());
            builder.AppendLine("HasMapZoomLevel: " + HasMapZoomLevel.ToString());
            builder.AppendLine("HasMapPitch: " + HasMapPitch.ToString());
            builder.AppendLine("HasMapHeading: " + HasMapHeading.ToString());
            builder.AppendLine("-----------------------------------------------------");
            return(builder.ToString());
        }