Aspose.Cells Represents the factory of the cells's classes Creates a new style. Returns a style object. Contains all classes of chart and sparkline. Represents error bar display type. Both Minus None Plus Represents data label position type. Applies only to bar, 2d/3d pie charts Applies only to bar, 2d/3d pie charts Applies only to bar charts Applies only to bar, 2d/3d pie charts Applies only to line charts Applies only to line charts Applies only to line charts Applies only to line charts Applies only to 2d/3d pie charts User moved the data labels, Only for reading chart from template file. Represents the minimum and maximum value types for the sparkline vertical axis. Automatic for each sparkline. Same for all sparklines in the group. InnerCustom value for sparkline. Represents the preset style types for sparkline. Style 1 Style 2 Style 3 Style 4 Style 5 Style 6 Style 7 Style 8 Style 9 Style 10 Style 11 Style 12 Style 13 Style 14 Style 15 Style 16 Style 17 Style 18 Style 19 Style 20 Style 21 Style 22 Style 23 Style 24 Style 25 Style 26 Style 27 Style 28 Style 29 Style 30 Style 31 Style 32 Style 33 Style 34 Style 35 Style 36 No preset style. Represents the sparkline types. Line sparkline. Column sparkline. Win/Loss sparkline. Represents the axis type. Category axis Value axis Series axis Represents the category axis type. AutomaticScale CategoryScale TimeScale Represents the axis cross type. Microsoft Excel sets the axis crossing point. The axis crosses at the maximum value. The axis crosses at the custom value. Represents the base unit for the category axis. Days Months Years Represents the display mode of the background. Automatic Opaque Transparent Represents the shape used with the 3-D bar or column chart. Box PyramidToPoint PyramidToMax Cylinder ConeToPoint ConeToMax Represents what the bubble size represents on a bubble chart. Represents the value of is area of the bubble. Represents the value of is width of the bubble. Represents the marker style in a line chart, scatter chart, or radar chart. Automatic markers. Circular markers. Long bar markers Diamond-shaped markers. Short bar markers. No markers. Square markers with a plus sign. Square markers. Square markers with an asterisk. Triangular markers. Square markers with an X. Picture Represents the way the two sections of either a pie of pie chart or a bar of pie chart are split. Represents the data points shall be split between the pie and the second chart by putting the last Split Position of the data points in the second chart Represents the data points shall be split between the pie and the second chart by putting the data points with value less than Split Position in the second chart. Represents the data points shall be split between the pie and the second chart by putting the points with percentage less than Split Position percent in the second chart. Represents the data points shall be split between the pie and the second chart according to the InnerCustom Split values. Represents the data points shall be split using the default mechanism for this chart type. Enumerates all chart types used in Excel. Represents Area Chart. Represents Stacked Area Chart. Represents 100% Stacked Area Chart. Represents 3D Area Chart. Represents 3D Stacked Area Chart. Represents 3D 100% Stacked Area Chart. Represents Bar Chart: Clustered Bar Chart. Represents Stacked Bar Chart. Represents 100% Stacked Bar Chart. Represents 3D Colustered Bar Chart. Represents 3D Stacked Bar Chart. Represents 3D 100% Stacked Bar Chart. Represents Bubble Chart. Represents 3D Bubble Chart. Represents Column Chart: Clustered Column Chart. Represents Stacked Column Chart. Represents 100% Stacked Column Chart. Represents 3D Column Chart. Represents 3D Colustered Column Chart. Represents 3D Stacked Column Chart. Represents 3D 100% Stacked Column Chart. Represents Cone Chart. Represents Stacked Cone Chart. Represents 100% Stacked Cone Chart. Represents Conical Bar Chart. Represents Stacked Conical Bar Chart. Represents 100% Stacked Conical Bar Chart. Represents 3D Conical Column Chart. Represents Cylinder Chart. Represents Stacked Cylinder Chart. Represents 100% Stacked Cylinder Chart. Represents Cylindrical Bar Chart. Represents Stacked Cylindrical Bar Chart. Represents 100% Stacked Cylindrical Bar Chart. Represents 3D Cylindrical Column Chart. Represents Doughnut Chart. Represents Exploded Doughnut Chart. Represents Line Chart. Represents Stacked Line Chart. Represents 100% Stacked Line Chart. Represents Line Chart with data markers. Represents Stacked Line Chart with data markers. Represents 100% Stacked Line Chart with data markers. Represents 3D Line Chart. Represents Pie Chart. Represents 3D Pie Chart. Represents Pie of Pie Chart. Represents Exploded Pie Chart. Represents 3D Exploded Pie Chart. Represents Bar of Pie Chart. Represents Pyramid Chart. Represents Stacked Pyramid Chart. Represents 100% Stacked Pyramid Chart. Represents Pyramid Bar Chart. Represents Stacked Pyramid Bar Chart. Represents 100% Stacked Pyramid Bar Chart. Represents 3D Pyramid Column Chart. Represents Radar Chart. Represents Radar Chart with data markers. Represents Filled Radar Chart. Represents Scatter Chart. Represents Scatter Chart connected by curves, with data markers. Represents Scatter Chart connected by curves, without data markers. Represents Scatter Chart connected by lines, with data markers. Represents Scatter Chart connected by lines, without data markers. Represents High-Low-Close Stock Chart. Represents Open-High-Low-Close Stock Chart. Represents Volume-High-Low-Close Stock Chart. Represents Volume-Open-High-Low-Close Stock Chart. Represents Surface Chart: 3D Surface Chart. Represents Wireframe 3D Surface Chart. Represents Contour Chart. Represents Wireframe Contour Chart. The series is laid out as box and whisker. The series is laid out as a funnel. The series is laid out as pareto lines. The series is laid out as a sunburst. The series is laid out as a treemap. The series is laid out as a waterfall. The series is laid out as a histogram. Represents the separator type of DataLables. Represents automatic separator Represents space(" ") Represents comma(",") Represents semicolon(";") Represents period(".") Represents newline("\n") Represents custom separator Represents the type of display unit. Display unit is None. Specifies the values on the chart shall be divided by 100. Specifies the values on the chart shall be divided by 1,000. Specifies the values on the chart shall be divided by 10,000. Specifies the values on the chart shall be divided by 100,000. Specifies the values on the chart shall be divided by 1,000,000. Specifies the values on the chart shall be divided by 10,000,000. Specifies the values on the chart shall be divided by 100,000,000. Specifies the values on the chart shall be divided by 1,000,000,000. Specifies the values on the chart shall be divided by 1,000,000,000,000. The values on the chart shall be divided by 0.01. specifies a custom value for the display unit. Represents error bar amount type. InnerCustom value type. Fixed value type. Percentage type Standard deviation type. Standar error type. Represents the type of formatting applied to an object or a object. Represents automatic formatting type. Represents custom formatting type. Represents none formatting type. Enumerates the legend position types. Displays the legend to the bottom of the chart's plot area. Displays the legend to the corner of the chart's plot area. Displays the legend to the left of the chart's plot area. Represents that the legend is not docked. Displays the legend to the right of the chart's plot area. Displays the legend to the top of the chart's plot area. Rerepsents line format type of chart line. Represents automatic formatting type. Represents solid formatting type. Represents none formatting type. Gradient Represents all plot empty cells type of a chart. Not plotted(leave gap) Zero Interpolated Represents the position type of tick-mark labels on the specified axis. Position type is high. Position type is low. Position type is next to axis. Position type is none. Represents the tick mark type for the specified axis. Tick mark type is Cross. Tick mark type is Inside. Tick mark type is None. Tick mark type is Outside Represents the trendline type. Exponential Linear Logarithmic MovingAverage Polynomial Power Memory usage options. Default option. This option is applied for all versions. Optimized for memory usage. This option may degrade performance in some special cases and is applied since v 8.0.0. Represents the preset WordArt styles. Fill - Black, Text 1, Shadow Fill - Blue, Accent 1, Shadow Fill - Orange, Accent 2, Outline - Accent 2 Fill - White, Outline - Accent 1, Shadow Fill - Gold, Accent 4, Soft Bevel Gradient Fill - Gray Gradient Fill - Blue, Accent 1, Reflection Gradient Fill - Gold, Accent 4, Outline - Accent 4 Fill - White, Outline - Accent 1, Glow - Accent 1 Fill - Gray-50%, Accent 3, Sharp Bevel Fill - Black, Text 1, Outline - Background 1, Hard Shadow - Background 1 Fill - Black, Text 1, Outline - Background 1, Hard Shadow - Accent 1 Fill - Blue, Accent 1, Outline - Background 1, Hard Shadow - Accent 1 Fill - White, Outline - Accent 2, Hard Shadow - Accent 2 Fill - Gray-25%, Background 2, Inner Shadow Pattern Fill - White, Text 2, Dark Upward Diagonal, Shadow Pattern Fill - Gray-50%, Accent 3, Narrow Horizontal, Inner Shadow Fill - Blue, Accent 1, 50%, Hard Shadow - Accent 1 Pattern Fill - Blue, Accent 1, Light Downward Diagonal, Outline - Accent 1 Pattern Fill - Blue-Gray, Text 2, Dark Upward Diagonal, Hard Shadow - Text 2 Represents the text options. Gets and sets the name of the shape. Gets or sets the color of underline. Specifies the minimum font size at which character kerning will occur for this text run. Specifies the spacing between characters within a text run. Represents automatic numberic bullet. Gets the type of the bullet. Gets and sets the starting number of the bullet. Represents the scheme of automatic number. Represents the type of the bullet. No bullet. Character bullet. Image bullet. Automatic numberic bullet. Represents the value of the bullet. Gets the type of the bullet's value. Represents the charater bullet. Gets the type of the bullet. Gets and sets character of the bullet. Represents the unit type of line space size. Represents in unit of a percentage of the text size. Represents in unit of points. Represents no bullet. Gets the type of the bullet's value. Represents the value of the image bullet. Gets the type of the bullet's value. Gets and sets image data of the bullet. Represents all automatic number scheme. (a), (b), (c), … a), b), c), … a., b., c., … (A), (B), (C), … A), B), C), … A., B., C., … Bidi Arabic 1 (AraAlpha) with ANSI minus symbol Bidi Arabic 2 (AraAbjad) with ANSI minus symbol Dbl-byte Arabic numbers w/ double-byte period Dbl-byte Arabic numbers (1), (2), (3), … 1), 2), 3), … 1., 2., 3., … 1, 2, 3, … Dbl-byte circle numbers (1-10 circle[0x2460-], 11-arabic numbers) Wingdings black circle numbers Wingdings white circle numbers (0-10 circle[0x0080-],11- arabic numbers) EA: Simplified Chinese w/ single-byte period EA: Simplified Chinese (TypeA 1-99, TypeC 100-) EA: Traditional Chinese w/ single-byte period EA: Traditional Chinese (TypeA 1-19, TypeC 20-) EA: Japanese w/ double-byte period EA: Japanese/Korean w/ single-byte period EA: Japanese/Korean (TypeC 1-) Bidi Hebrew 2 with ANSI minus symbol Hindi alphabet period - consonants Hindi alphabet period - vowels /// Hindi numerical parentheses - right Hindi numerical period (i), (ii), (iii), … i), ii), iii), … i., ii., iii., … (I), (II), (III), … I), II), III), … I., II., III., … Thai alphabet parentheses - both Thai alphabet parentheses - right Thai alphabet period Thai numerical parentheses - both Thai numerical parentheses - right Thai numerical period Represents the different types of font alignment. When the text flow is horizontal or simple vertical same as fontBaseline but for other vertical modes same as fontCenter. The letters are anchored to the very bottom of a single line. The letters are anchored to the bottom baseline of a single line. The letters are anchored between the two baselines of a single line. The letters are anchored to the top baseline of a single dline. Represents the node type. Represents the text node. Represents the text paragraph. Represents the equation text. Represents the text tab alignment types. The text at this tab stop is center aligned. At this tab stop, the decimals are lined up. The text at this tab stop is left aligned. The text at this tab stop is right aligned. Represents tab stop. Specifies the alignment that is to be applied to text using this tab stop. Specifies the position of the tab stop relative to the left margin. Represents the list of all tab stops. Adds a tab stop. Gets by the index. The index. Represents the text direct type. East Asian Vertical display. Horizontal text. Displayed vertical and the text flows top down then LEFT to RIGHT Each line is 90 degrees rotated clockwise Each line is 270 degrees rotated clockwise Determines if all of the text is vertical Specifies that vertical WordArt should be shown from right to left rather than left to right. Contains all classes of Texts. Represents the persistence method to persist an ActiveX control. The data is stored as xml data. The data is stored as a storage binary data. The data is stored as a stream binary data. The data is stored as a streaminit binary data. Represents the symbol displayed on the drop button. Displays a button with no symbol. Displays a button with a down arrow. Displays a button with an ellipsis (...). Displays a button with a horizontal line like an underscore character. Specifies when to show the drop button Never show the drop button. Show the drop button when the control has the focus. Always show the drop button. Represents the border type of the ActiveX control. No border. The single line. Represents the default run-time mode of the Input Method Editor. Does not control IME. IME on. IME off. English mode. IME off.User can't turn on IME by keyboard. IME on with Full-width hiragana mode. IME on with Full-width katakana mode. IME on with Half-width katakana mode. IME on with Full-width Alphanumeric mode. IME on with Half-width Alphanumeric mode. IME on with Full-width hangul mode. IME on with Half-width hangul mode. IME on with Full-width hanzi mode. IME on with Half-width hanzi mode. Repsents the position of the Caption relative to the control. The left of the control. The right of the control. Represents all type of ActiveX control. Button ComboBox CheckBox ListBox TextBox Spinner RadioButton Label Image ToggleButton ScrollBar Unknown Represents the visual appearance of the list in a ListBox or ComboBox. Displays a list in which the background of an item is highlighted when it is selected. Displays a list in which an option button or a checkbox next to each entry displays the selection state of that item. Represents how a ListBox or ComboBox searches its list as the user types. The control searches for the next entry that starts with the character entered. Repeatedly typing the same letter cycles through all entries beginning with that letter. As each character is typed, the control searches for an entry matching all characters entered. The list will not be searched when characters are typed. Represents the type of icon displayed as the mouse pointer for the control. Standard pointer. Arrow. Cross-hair pointer. I-beam. Double arrow pointing northeast and southwest. Double arrow pointing north and south. Double arrow pointing northwest and southeast. Double arrow pointing west and east. Up arrow. Hourglass. “Not” symbol (circle with a diagonal line) on top of the object being dragged. Arrow with an hourglass. Arrow with a question mark. “Size-all” cursor (arrows pointing north, south, east, and west). Uses the icon specified by the MouseIcon property. Represents the alignment of the picture inside the Form or Image. The top left corner. The top right corner. The center. The bottom left corner. The bottom right corner. Repsents the location of the control's picture relative to its caption. The picture appears to the left of the caption. The caption is aligned with the top of the picture. The picture appears to the left of the caption. The caption is centered relative to the picture. The picture appears to the left of the caption. The caption is aligned with the bottom of the picture. The picture appears to the right of the caption. The caption is aligned with the top of the picture. The picture appears to the right of the caption. The caption is centered relative to the picture. The picture appears to the right of the caption. The caption is aligned with the bottom of the picture. The picture appears above the caption. The caption is aligned with the left edge of the picture. The picture appears above the caption. The caption is centered below the picture. The picture appears above the caption. The caption is aligned with the right edge of the picture. The picture appears below the caption. The caption is aligned with the left edge of the picture. The picture appears below the caption. The caption is centered above the picture. The picture appears below the caption. The caption is aligned with the right edge of the picture. The picture appears in the center of the control. The caption is centered horizontally and vertically on top of the picture. Represents how to display the picture. Crops any part of the picture that is larger than the control's boundaries. Stretches the picture to fill the control's area. This setting distorts the picture in either the horizontal or vertical direction. Enlarges the picture, but does not distort the picture in either the horizontal or vertical direction. Represents the type of scroll bar. Displays no scroll bars. Displays a horizontal scroll bar. Displays a vertical scroll bar. Displays both a horizontal and a vertical scroll bar. Represents type of scroll orientation Control is rendered horizontally when the control's width is greater than its height. Control is rendered vertically otherwise. Control is rendered vertically. Control is rendered horizontally. Represents the type of special effect. Flat Raised Sunken Etched Bump Contains all classes of ActiveXControl. Contains all classes of shapes and fill format. Represents type of the property to be locked. Group AdjustHandles Text Points Crop Selection Move AspectRatio Rotation Ungroup Resize ShapeType Arrowhead Fill format type. Represents automatic formatting type. Represents none formatting type. Solid fill format. Gradient fill format. Texture fill format(inculdes picuture fill). Pattern fill format. Inherit the fill properties of the group. Fill format set type. No Fill format. Gradient fill format. Texture fill format. Pattern fill format. Represents mirror type of textrue fill None Horizonal Vertical Both Represents path segment type. Straight line segment Cubic Bezier curve Start a new path If the starting POINT and the end POINT are not the same, a single straight line is drawn to connect the starting POINT and ending POINT of the path. The end of the current path Escape An arc Unknown Enumerates the line end width of the shape border line. Short line end length Medium line end length Long line end length Enumerates the line end width of the shape border line. Short line end width. Medium line end width. Wide line end width. Represents the way the text vertical or horizontal overflow. Pay attention to top and bottom barriers. Provide no indication that there is text which is not visible. Pay attention to top and bottom barriers. Use an ellipsis to denote that there is text which is not visible. Only for vertical overflow. Overflow the text and pay no attention to top and bottom barriers. Represents all built-in auto shape type. A value that SHOULD NOT be used. A plain text shape. An octagonal text shape. A triangular text shape pointing upwards. A triangular text shape pointing downwards. A chevron text shape pointing upwards. A chevron text shape pointing downwards. A circular text shape, as if reading an inscription on the inside of a ring. A circular text shape, as if reading an inscription on the outside of a ring. An upward arching curved text shape. A downward arching curved text shape. A circular text shape. A text shape that resembles a button. An upward arching text shape. A downward arching text shape. A circular text shape. A text shape that resembles a button. An upward curving text shape. A downward curving text shape. A cascading text shape pointed upwards. A cascading text shape pointed downwards. A wavy text shape. A wavy text shape. A wavy text shape. NOTE: This enum is now obsolete. Instead, please use AutoShape.TextDoubleWave1. This property will be removed 12 months later since April 2016. Aspose apologizes for any inconvenience you may have experienced. A wavy text shape. NOTE: This enum is now obsolete. Instead, please use AutoShape.TextDoubleWave2. This property will be removed 12 months later since April 2016. Aspose apologizes for any inconvenience you may have experienced. A wavy text shape. A wavy text shape. A text shape that expands vertically in the middle. A text shape that shrinks vertically in the middle. A text shape that expands downward in the middle. A text shape that shrinks upwards in the middle. A text shape that expands upward in the middle. A text shape that shrinks downward in the middle. A text shape where lower lines expand upward. Upper lines shrink to compensate. A text shape where lines in the center expand vertically. Upper and lower lines shrink to compensate. A text shape that shrinks vertically on the right side. A text shape that shrinks vertically on the left side. A text shape that shrinks horizontally on top. A text shape that shrinks horizontally on bottom. An upward slanted text shape. A downward slanted text shape. A text shape that is curved upwards as if being read on the side of a can. A text shape that is curved downwards as if being read on the side of a can. A shape enclosed in brackets. A shape enclosed in braces. This value SHOULD NOT be used. Represents the check value type of the check box. UnChecked Checked Mixed Enumerates shape fill pattern types. Represents no background. Represents solid pattern. Represents 5% gray pattern. Represents 10% gray pattern. Represents 20% gray pattern. Represents 30% gray pattern. Represents 40% gray pattern. Represents 50% gray pattern. Represents 60% gray pattern. Represents 70% gray pattern. Represents 75% gray pattern. Represents 80% gray pattern. Represents 90% gray pattern. Represents 25% gray pattern. Represents light downward diagonal pattern. Represents light upward diagonal pattern. Represents dark downward diagonal pattern. Represents dark upward diagonal pattern. Represents wide downward diagonal pattern. Represents wide upward diagonal pattern. Represents light vertical pattern. Represents light horizontal pattern. Represents narrow vertical pattern. Represents narrow horizontal pattern. Represents dark vertical pattern. Represents dark horizontal pattern. Represents dashed downward diagonal pattern. Represents dashed upward diagonal pattern. Represents dashed vertical pattern. Represents dashed horizontal pattern. Represents small confetti pattern. Represents large confetti pattern. Represents zig zag pattern. Represents wave pattern. Represents diagonal brick pattern. Represents horizontal brick pattern. Represents weave pattern. Represents plaid pattern. Represents divot pattern. Represents dotted grid pattern. Represents dotted diamond pattern. Represents shingle pattern. Represents trellis pattern. Represents sphere pattern. Represents small grid pattern. Represents large grid pattern. Represents small checker board pattern. Represents large checker board pattern. Represents outlined diamond pattern. Represents solid diamond pattern. Represents unkown pattern. Represents the gradient color type for the specified fill. No gradient color One gradient color Preset gradient colors Two gradient colors Represents gradient preset color type. Brass preset color Calm Water preset color Chrome preset color Chrome II preset color Daybreak preset color Desert preset color Early Sunset preset color Fire preset color Fog preset color Gold preset color Gold II preset color Horizon preset color Late Sunset preset color Mahogany preset color Moss preset color Nightfall preset color Ocean preset color Parchment preset color Peacock preset color Rainbow preset color Rainbow II preset color Sapphire preset color Silver preset color Wheat preset color Unknown preset color. Only for the preset color (which is not same as any known preset color) in the template workbook. Represents gradient shading style. Diagonal down shading style Diagonal up shading style From center shading style From corner shading style Horizontal shading style Vertical shading style Unkown shading style.Only for the shading style(which is not for any member of the GradientStyleType) in the template file. Enumerates the line end type of the shape border line. No line end type. Arrow line end type. Arrow Stealth line end type. Arrow Diamond Line end type. Arrow Oval line end type. Arrow Open line end type. Represents all Gradient fill type. Linear Radial Rectangle Path Represents all direction type of gradient. FromUpperLeftCorner FromUpperRightCorner FromLowerLeftCorner FromLowerRightCorner FromCenter Unknown Represents the picture fill type. Stretch Stack StackAndScale Represents office drawing objects type. Group Line Rectangle Oval Arc Chart TextBox Button Picture Polygon CheckBox RadioButton Label DialogBox Spinner ScrollBar ListBox GroupBox ComboBox Comment OleObject Only for preserving the drawing object in the template file. Only for preserving the drawing object in the xlsx file. Slicer Represents preset text effect type of WordArt. TextEffect1 TextEffect2 TextEffect3 TextEffect4 TextEffect5 TextEffect6 TextEffect7 TextEffect8 TextEffect9 TextEffect10 TextEffect11 TextEffect12 TextEffect13 TextEffect14 TextEffect15 TextEffect16 TextEffect17 TextEffect18 TextEffect19 TextEffect20 TextEffect21 TextEffect22 TextEffect23 TextEffect24 TextEffect25 TextEffect26 TextEffect27 TextEffect28 TextEffect29 TextEffect30 Represents preset text effect shape type of WordArt. PlainText Stop TriangleUp TriangleDown ChevronUp ChevronDown RingInside RingOutside ArchUpCurve ArchDownCurve CircleCurve ButtonCurve ArchUpPour ArchDownPour CirclePour ButtonPour CurveUp CurveDown CanUp CanDown Wave1 Wave2 DoubleWave1 DoubleWave2 Inflate Deflate InflateBottom DeflateBottom InflateTop DeflateTop DeflateInflate DeflateInflateDeflate FadeRight FadeLeft FadeUp FadeDown SlantUp SlantDown CascadeUp CascadeDown Mixed Represents style of dash drawing lines. Represent a dash line. Represents a dash-dot line. Represents a dash-dot-dot line. Represents a long dash-short dash line. Represents a long dash-short dash-dot line. Represents a round-dot line. Represent a solid line. Represents a square-dot line. InnerCustom dash style. Represents style of drawing lines. Single line (of width lineWidth) Three lines, thin, thick, thin Double lines, one thin, one thick Double lines, one thick, one thin Double lines of equal width Represents the way the drawing object is attached to the cells below it. Don't move or size with cells. Move but don't size with cells. Move and size with cells. The selection type of list box. Sigle selection type. Multiple selection type. Externd selection type. Represents the preset texture type. Represents Blue Tissue Paper texture type. Represents Bouquet texture type. Represents Brown Marble texture type. Represents Canvas texture type. Represents Cork texture type. Represents Denim texture type. Represents Fish Fossil texture type. Represents Granite texture type. Represents Green Marble texture type. Represents Medium Wood texture type. Represents Newsprint texture type. Represents Oak texture type. Represents Paper Bag texture type. Represents Papyrus texture type. Represents Parchment texture type. Represents Pink Tissue Paper texture type. Represents Purple Mesh texture type. Represents Recycled Paper texture type. Represents Sand texture type. Represents Stationery texture type. Represents Walnut Droplets texture type. Represents Water Droplets texture type. Represents White Marble texture type. Represents Woven Mat texture type. Represents Unknown texture type. Enumerates the weight types for a picture border or a chart line. Represents the weight of hair line. Represents the weight of medium line. Represents the weight of single line. Represents the weight of wide line. Represents the single TrueType font file stored in the file system. Ctor. path to font file Path to font file. Returns the type of the font source. Represents the folder that contains TrueType font files. Ctor. path to fonts folder Determines whether or not to scan subfolders. Path to fonts folder. Determines whether or not to scan the subfolders. Returns the type of the font source. Specifies font settings Gets or sets the default font name. Indicate whether to use system font substitutes first or not when a font is not presented and the substitute of this font is not set. e.g. On Ubuntu, "Arial" font is generally substituted by "Liberation Sans". Default value is false. Font substitute names for given original font name. Original font name. List of font substitute names to be used if original font is not presented. Returns array containing font substitute names to be used if original font is not presented. originalFontName An array containing font substitute names to be used if original font is not presented. Sets the fonts folder The folder that contains TrueType fonts. Determines whether or not to scan subfolders. Sets the fonts folders The folders that contains TrueType fonts. Determines whether or not to scan subfolders. Sets the fonts sources. An array of sources that contain TrueType fonts. Gets a copy of the array that contains the list of sources This is an abstract base class for the classes that allow the user to specify various font sources Returns the type of the font source. Specifies the type of a font source. represents single font file. represents folder with font files. represents single font in memory. Represents the single TrueType font file stored in memory. Ctor. Binary font data. Binary font data. Returns the type of the font source. Represents user's custom calculation engine to extend the default calculation engine of Aspose.Cells. [C#] public class MyEngine : AbstractCalculationEngine { public override void Calculate(CalculationData data) { string funcName = data.FunctionName.ToUpper(); if ("MYFUNC".Equals(funcName)) { //do calculation for MYFUNC here int count = data.ParamCount; object res = null; for (int i = 0; i < count; i++) { object pv = data.GetParamValue(i); if (pv is ReferredArea) { ReferredArea ra = (ReferredArea)pv; pv = ra.GetValue(0, 0); } //process the parameter here //res = ...; } data.CalculatedValue = res; } } } Calculates one function with given data. the required data to calculate function such as function name, parameters, ...etc. User should set the calculated value for given data for all functions(including excel native functions) that he wants to calculate by himself in this implementation. Indicates whether this engine needs the literal text of parameter while doing calculation. Default value is false. If this custom calculation engine requires the parameter's literal text, more stacks will be required to cache the literal text for parameters and Calculate() method may be called recursively to calcualte the parameter's value. Commonly the literal text is not needed for calculating formulas and this method should return false for most implementations to get better performance. Represents the required data when calculating one function, such as function name, parameters, ...etc. Gets or sets the calculated value for this function. User should set this property in his custom calculation engine for those functions the engine supports, and the set value will be returned when getting this property. Getting this property before setting will make the function be calculated by the default calculation engine of Aspose.Cells and the calculated value will be returned. Gets the Workbook object where the function is in. Gets the Workbook object where the function is in. Gets the Cell object where the function is in. Gets the function name to be calculated. Gets the count of parameters Gets the represented value object of the parameter at given index. index of the parameter(0 based) If the parameter is plain value, then returns the plain value. If the parameter is reference, then return ReferredArea object. Gets the literal text of the parameter at given index. index of the parameter(0 based) literal text of the parameter Repsents the globalization settings. Gets the name of "Total" label in the PivotTable. You need to override this method when the PivotTable contains two or more PivotFields in the data area. The name of "Total" label Gets the name of "Grand Total" label in the PivotTable. The name of "Grand Total" label Gets the name of "(Multiple Items)" label in the PivotTable. The name of "(Multiple Items)" label Gets the name of "(All)" label in the PivotTable. The name of "(All)" label Gets the name of "Column Labels" label in the PivotTable. The name of column labels Gets the name of "Row Labels" label in the PivotTable. The name of row labels Gets the name of "(blank)" label in the PivotTable. The name of empty data Gets the name of type in the PivotTable. The type The name of type Gets the total name of the function. The function type. The total name of the function. Gets the grand total name of the function. The function type. The grand total name of the function. Gets the name of "Other" labels for Pie charts. Encapsulates the object that represents a range of cells within a spreadsheet. Gets the cells enumerator The cells enumerator Indicates whether the range is intersect. The range. Whether the range is intersect. If the two rangs area not in the same worksheet ,return false. Returns a Range object that represents the rectangular intersection of two ranges. The intersecting range. a Range object If the two ranges are not intersected, returns null. Returns the union of two ranges. The range The union of two ranges. Gets the count of rows in the range. Gets the count of columns in the range. Gets or sets the name of the range. Named range is supported. For example,

range.Name = "Sheet1!MyRange";

Gets the range's refers to. Gets the index of the first row of the range. Gets the index of the first column of the range. Combines a range of cells into a single cell. Reference the merged cell via the address of the upper-left cell in the range. Unmerges merged cells of this range. Puts a value into the range, if appropriate the value will be converted to other data type and cell's number format will be reset. Input value True: converted to other data type if appropriate. True: set the number format to cell's style when converting to other data type Gets and sets the value of the range. If the range contains multiple cells, return a two-dimension object. If applies object array to the range, it should be a two-dimension object. Applies formats for a whole range. The style object which will be applied. Flags which indicates applied formatting properties. Each cell in this range will contains a object. So this is a memory-consuming method. Please use it carefully. Sets the style of the range. The Style object. Sets the outline borders around a range of cells with same border style and color. Border style. Border color. Sets out line borders around a range of cells. Border styles. Border colors. Both the length of borderStyles and borderStyles must be 4. The order of of borderStyles and borderStyles must be top,bottom,left,right Sets outline border around a range of cells. Border edge. Border style. Border color. Sets or gets the column width of this range Sets or gets the height of rows in this range Move the current range to the dest range. The start row of the dest range. The start column of the dest range. Copies cell data (including formulas) from a source range. Source object. Copies cell value from a source range. Source object. Copies style settings from a source range. Source object. Copying the range with paste special options. The soure range. The paste special options. Copies data (including formulas), formatting, drawing objects etc. from a source range. Source object. Gets object in this range. Row index in this range, zero based. Column index in this range, zero based. object. Gets object or null in this range. Row index in this range, zero based. Column index in this range, zero based. object. Gets the object which contains this range. Returns a string represents the current Range object. Represents the filter that provides options for loading data when loading workbook from template. User may specify the filter options or implement their own LoadFilter to specify how to load data. The following example shows how to determine the filter options according to worksheet's properties. [C#] Workbook wb = new Workbook(template, new LoadOptions() { LoadFilter = new LoadFilterSheet() }); //Custom LoadFilter implementation class LoadFilterSheet : LoadFilter { public override void StartSheet(Worksheet sheet) { if (sheet.Name == "Sheet1") { m_LoadDataFilterOptions = Aspose.Cells.LoadDataFilterOptions.All; } else { m_LoadDataFilterOptions = Aspose.Cells.LoadDataFilterOptions.None; } } } Constructs one LoadFilter with default filter options LoadDataFilterOptions.All. Constructs one LoadFilter with given filter options. the default filter options The filter options to denote what data should be loaded. Prepares filter options before loading given worksheet. User's implementation of LoadFilter can change the LoadDataFilterOptions here to denote how to load data for this worksheet. The worksheet to be loaded. There are only few properties can be used for the given worksheet object here because most data and properties have not been loaded. The available properties are: Name, Index, VisibilityType Provides methods to set metered key. In this example, an attempt will be made to set metered public and private key [C#] Metered matered = new Metered(); matered.SetMeteredKey("PublicKey", "PrivateKey"); [Visual Basic] Dim matered As Metered = New Metered matered.SetMeteredKey("PublicKey", "PrivateKey") the component jar file: Metered matered = new Metered(); matered.setMeteredKey("PublicKey", "PrivateKey"); Initializes a new instance of this class. Sets metered public and private key public key private key Gets consumption quantity consumption quantity Contains all classes of PivotTable. Represents PivotTable condition formatting rule type. Indicates that Top N conditional formatting is not evaluated Indicates that Top N conditional formatting is evaluated across the entire scope range. Indicates that Top N conditional formatting is evaluated for each row. Indicates that Top N conditional formatting is evaluated for each column. Represents PivotTable condition formatting scope type. Indicates that conditional formatting is applied to the selected data fields. Indicates that conditional formatting is applied to the selected PivotTable field intersections. Indicates that conditional formatting is applied to the selected cells. Represents a PivotFilter in PivotFilter Collection. Gets the autofilter of the pivot filter. Gets the autofilter type of the pivot filter. Gets the field index of the pivot filter. Gets the string value1 of the label pivot filter. Gets the string value2 of the label pivot filter. Gets the measure field index of the pivot filter. Gets the member property field index of the pivot filter. Gets the name of the pivot filter. Gets the Evaluation Order of the pivot filter. Represents a collection of all the PivotFilter objects Gets the pivotfilter object at the specific index. Adds a PivotFilter Object to the specific type the PivotField index the PivotFilter type the index of the PivotFilter Object in this PivotFilterCollection. Clear PivotFilter from the specific PivotField the PivotField index Represents PivotTable Filter type. Indicates the "begins with" filter for field captions. Indicates the "is between" filter for field captions. Indicates the "contains" filter for field captions. Indicates the "ends with" filter for field captions. Indicates the "equal" filter for field captions. Indicates the "is greater than" filter for field captions. Indicates the "is greater than or equal to" filter for field captions. Indicates the "is less than" filter for field captions. Indicates the "is less than or equal to" filter for field captions. Indicates the "does not begin with" filter for field captions. Indicates the "is not between" filter for field captions. Indicates the "does not contain" filter for field captions. Indicates the "does not end with" filter for field captions. Indicates the "not equal" filter for field captions. Indicates the "count" filter. Indicates the "between" filter for date values. Indicates the "equals" filter for date values. Indicates the "newer than" filter for date values. Indicates the "newer than or equal to" filter for date values. Indicates the "not between" filter for date values. Indicates the "does not equal" filter for date values. Indicates the "older than" filter for date values. Indicates the "older than or equal to" filter for date values. Indicates the "last month" filter for date values. Indicates the "last quarter" filter for date values. Indicates the "last week" filter for date values. Indicates the "last year" filter for date values. Indicates the "January" filter for date values. Indicates the "February" filter for date values. Indicates the "March" filter for date values. Indicates the "April" filter for date values. Indicates the "May" filter for date values. Indicates the "June" filter for date values. Indicates the "July" filter for date values. Indicates the "August" filter for date values. Indicates the "September" filter for date values. Indicates the "October" filter for date values. Indicates the "November" filter for date values. Indicates the "December" filter for date values. Indicates the "next month" filter for date values. Indicates the "next quarter" for date values. Indicates the "next week" for date values. Indicates the "next year" filter for date values. Indicates the "percent" filter for numeric values. Indicates the "first quarter" filter for date values. Indicates the "second quarter" filter for date values. Indicates the "third quarter" filter for date values. Indicates the "fourth quarter" filter for date values. Indicates the "sum" filter for numeric values. Indicates the "this month" filter for date values. Indicates the "this quarter" filter for date values. Indicates the "this week" filter for date values. Indicate the "this year" filter for date values. Indicates the "today" filter for date values. Indicates the "tomorrow" filter for date values. Indicates the PivotTable filter is unknown to the application. Indicates the "Value between" filter for text and numeric values. Indicates the "value equal" filter for text and numeric values. Indicates the "value greater than" filter for text and numeric values. Indicates the "value greater than or equal to" filter for text and numeric values. Indicates the "value less than" filter for text and numeric values. Indicates the "value less than or equal to" filter for text and numeric values. Indicates the "value not between" filter for text and numeric values. Indicates the "value not equal" filter for text and numeric values. Indicates the "year-to-date" filter for date values. Indicates the "yesterday" filter for date values. Represents a PivotTable Format Condition in PivotFormatCondition Collection. Get and set scope type for the pivot talbe condition format . Get and set rule type for the pivot talbe condition format . Get formatconditions for the pivot talbe condition format . Represents PivotTable Format Conditions. Adds a pivot FormatCondition to the collection. pivot FormatCondition object index. not supported Gets the pivot FormatCondition object at the specific index. pivot FormatCondition object. Represents number of items to retain per field. The default number of unique items per PivotField allowed. The maximum number of unique items per PivotField allowed (>32,500). No unique items per PivotField allowed. Represents a field in a PivotTable report. Gets the pivot items of the pivot field Gets the group range of the pivot field Gets the pivot filter of the pivot field by type Gets the pivot filters of the pivot field Init the pivot items of the pivot field Indicates whether the specified PivotTable field is calculated field. Get the formula string of the specified calculated field . Represents the PivotField index in the base PivotFields. Represents the PivotField index in the PivotFields. Represents the PivotField name. Represents the PivotField display name. Sets whether the specified field shows that subtotals. subtotals type. whether the specified field shows that subtotals. Gets whether the specified field shows that subtotals. subtotals type. whether the specified field shows that subtotals. Indicates whether the specified field shows automatic subtotals. Default is true. Indicates whether the specified field can be dragged to the column position. The default value is true. Indicates whether the specified field can be dragged to the hide position. The default value is true. Indicates whether the specified field can be dragged to the row position. The default value is true. Indicates whether the specified field can be dragged to the page position. The default value is true. Indicates whether the specified field can be dragged to the data position. The default value is true. indicates whether the field can have multiple items selected in the page field The default value is false. indicates whether the field can repeat items labels The default value is false. indicates whether the field can include new items in manual filter The default value is false. indicates whether the field can insert page breaks between items insert page break after each item The default value is false. Indicates whether all items in the PivotTable report are displayed, even if they don't contain summary data. show items with no data The default value is false. Indicates whether the specified PivotTable field is automatically sorted. Indicates whether the specified PivotTable field is autosorted ascending. Represents auto sort field index. -1 means PivotField itself,others means the position of the data fields. Indicates whether the specified PivotTable field is automatically shown,only valid for excel 2003. Indicates whether the specified PivotTable field is autoshown ascending. Represent the number of top or bottom items that are automatically shown in the specified PivotTable field. Represents auto show field index. -1 means PivotField itself. It should be the index of the data fields. Represents the function used to summarize the PivotTable data field. Represents how to display the values contained in a data field. Represents the base field for a custom calculation. Please use PivotField.BaseFieldIndex instead NOTE: This member is now obsolete. Instead, please us PivotField.BaseFieldIndex property. This property will be removed 12 months later since April 2016. Aspose apologizes for any inconvenience you may have experienced. Represents the base field for a custom calculation. Represents the item in the base field for a custom calculation. Valid only for data fields. Because PivotItemPosition.InnerCustom is only for read,if you need to set PivotItemPosition.InnerCustom, please set PivotField.BaseItemIndex attribute. Represents the item in the base field for a custom calculation. Valid only for data fields. NOTE: This member is now obsolete. Instead, please us PivotField.BaseItemIndex property. This property will be removed 12 months later since April 2016. Aspose apologizes for any inconvenience you may have experienced. Represents the item in the base field for a custom calculation. Valid only for data fields. Represents the current page item showing for the page field (valid only for page fields). Represents the built-in display format of numbers and dates. Indicates whether inserting blank line after each item. when ShowInOutlineForm is true, then display subtotals at the top of the list of items instead of at the bottom Indicates whether layout this field in outline form on the Pivot Table view Represents the custom display format of numbers and dates. Indicates whether the specific PivotItem is hidden. the index of the pivotItem in the pivotField. whether the specific PivotItem is hidden Sets whether the specific PivotItem in a data field is hidden. the index of the pivotItem in the pivotField. whether the specific PivotItem is hidden Indicates whether the specific PivotItem is hidden detail. the index of the pivotItem in the pivotField. whether the specific PivotItem is hidden detail Sets whether the specific PivotItem in a pivot field is hidden detail. the index of the pivotItem in the pivotField. whether the specific PivotItem is hidden Sets whether the PivotItems in a pivot field is hidden detail.That is collapse/expand this field. whether the PivotItems is hidden Sets whether the specific PivotItem in a data field is hidden. the value of the pivotItem in the pivotField. whether the specific PivotItem is hidden Get all base items; Get the original base items; Gets the base item count of this pivot field. Add a calculated item to the pivot field. The item's name. The item's formula Only supports to add calculated item to Row/Column field. Indicates whether showing in compact mode. Represents a collection of all the PivotField objects in the PivotTable's specific PivotFields type. Gets the PivotFields type. Gets the count of the pivotFields. Gets the PivotField Object at the specific index. Gets the PivotField Object of the specific name. Adds a PivotField Object to the specific type PivotFields. field index in the base PivotFields. the index of the PivotField Object in this PivotFields. Adds a PivotField Object to the specific type PivotFields. a PivotField Object. the index of the PivotField Object in this PivotFields. clear all fields of PivotFieldCollection Represents data display format in the PivotTable data field. Represents normal dispaly format. Represents difference from dispaly format. Represents percentage of dispaly format. Represents percentage difference from display format. Represents running total in dispaly format. Represents percentage of row dispaly format. Represents percentage of column dispaly format. Represents percentage of total dispaly format. Represents index dispaly format. Represents percentage of parent row total dispaly format. Represents percentage of parent column total dispaly format. Represents percentage of parent total dispaly format. Represents percentage of running total in dispaly format. Represents smallest to largest dispaly format. Represents largest to smallest dispaly format. Summary description for PivotFieldSubtotalType. Represents None subtotal type. Represents Automatic subtotal type. Represents Sum subtotal type. Represents Count subtotal type. Represents Average subtotal type. Represents Max subtotal type. Represents Min subtotal type. Represents Product subtotal type. Represents Count Nums subtotal type. Represents Stdev subtotal type. Represents Stdevp subtotal type. Represents Var subtotal type. Represents Varp subtotal type. Represents PivotTable field type. Presents base pivot field type. Presents row pivot field type. Presents column pivot field type. Presents page pivot field type. Presents data pivot field type. Represents PivotTable groupby type. Presents rangeofvalues groupby type. Presents Seconds groupby type. Presents Minutes groupby type. Presents Hours groupby type. Presents Days groupby type. Presents Months groupby type. Presents Quarters groupby type. Presents Years groupby type. Represents a item in a PivotField report. Gets and Sets whether the pivot item is hidden. Specifying the position index in all the PivotItems,not the PivotItems under the same parent node. Specifying the position index in the PivotItems under the same parent node. Moves the item up or down The number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero. Specifying whether moving operation is in the same parent node or not Moves the item up or down. The number of moving up or down. Move the item up if this is less than zero; Move the item down if this is greater than zero. NOTE: This method is now obsolete. Instead, please use Move(int count, bool isSameParent) method. This method will be removed 12 months later since December 2014. Aspose apologizes for any inconvenience you may have experienced. Gets the string value of the pivot item If the value is null, it will return "" Gets the double value of the pivot item If the value is null or not number ,it will return 0 Gets the date time value of the pivot item If the value is null ,it will return DateTime.MinValue Gets the value of the pivot item Gets the name of the pivot item. Gets the index of the pivot item in the pivot field Represents a collection of all the PivotItem objects in the PivotField's Gets the count of the pivot items. Directly chanages the orders of the two items. The current index The dest index Represents PivotTable base item Next/Previous/All position in the base field . Represents the previous pivot item in the PivotField. Represents the next pivot item in the PivotField. Represents a pivot item index, as specified by Pivot Items, that specifies a pivot item in the PivotField. only read Represents the pivot page field items if the pivot table data source is consolidation ranges. It only can contain up to 4 fields. Represents the pivot page field items. Adds a page field. Page field item label Gets the number of page fields. Sets which item label in each page field to use to identify the data range. The pageItemIndex.Length must be equal to PageFieldCount, so please add the page field first. The consolidation data range index. The page item index in the each page field. pageItemIndex[2] = 1 means the seconde item in the third field to use to identify this range. pageItemIndex[1] = -1 means no item in the second field to use to identify this range and MS will auto create "blank" item in the second field to identify this range. Summary description for PivotTable. Specifies whether the PivotTable is compatible for Excel2003 when refreshing PivotTable, if true, a string must be less than or equal to 255 characters, so if the string is greater than 255 characters, it will be truncated. if false, a string will not have the aforementioned restriction. The default value is true. Gets and sets the pivottable style name. Gets and sets the built-in pivot table style. Copies named style from another pivot table. Source pivot table. Removes a field from specific field area The fields area type. The name in the base fields. Removes a field from specific field area The fields area type. The field index in the base fields. Remove field from specific field area the fields area type.It could be one of the following values:
PivotFieldType.Row
PivotFieldType.Column
PivotFieldType.Data
PivotFieldType.Page
the field in the base fields.
Adds the field to the specific area. The fields area type. The name in the base fields. The field position in the specific fields.If there is no field named as it, return -1. Adds the field to the specific area. The fields area type. The field index in the base fields. The field position in the specific fields. Adds the field to the specific area. the fields area type.It could be one of the following values:
PivotFieldType.Row
PivotFieldType.Column
PivotFieldType.Data
PivotFieldType.Page
the field in the base fields. the field position in the specific fields.
Adds a calclulated field to pivot field. The name of the calculated field The formula of the calculated field. True,drag this field to data area immediately Adds a calclulated field to pivot field and drag it to data area. The name of the calculated field The formula of the calculated field. Gets the specific fields by the field type. the field type. the specific fields Returns a PivotFields object that are currently shown as column fields. Returns a PivotFields object that are currently shown as row fields. Returns a PivotFields object that are currently shown as page fields. Gets a PivotField object that represents all the data fields in a PivotTable. Read-only.It would be init only when there are two or more data fields in the DataPiovtFiels. It only use to add DataPivotField to the PivotTable row/column area . Default is in row area. Gets a PivotField object that represents all the data fields in a PivotTable. Read-only.It would be init only when there are two or more data fields in the DataPiovtFiels. It only use to add DataPivotField to the PivotTable row/column area . Default is in row area. Returns a PivotFields object that includes all fields in the PivotTable report Returns a PivotFilterCollection object. Returns a CellArea object that represents the range that contains the column area in the PivotTable report. Read-only. Returns a CellArea object that represents the range that contains the row area in the PivotTable report. Read-only. Returns a CellArea object that represents the range that contains the data area in the list between the header row and the insert row. Read-only. Returns a CellArea object that represents the range containing the entire PivotTable report, but doesn't include page fields. Read-only. Returns a CellArea object that represents the range containing the entire PivotTable report, includes page fields. Read-only. Moves the PivotTable to a different location in the worksheet. row index. column index. Moves the PivotTable to a different location in the worksheet. the dest cell name. Indicates whether the PivotTable report shows grand totals for columns. Indicates whether the PivotTable report displays classic pivottable layout. (enables dragging fields in the grid) Indicates whether the PivotTable report shows grand totals for rows. Indicates whether the PivotTable report displays a custom string in cells that contain null values. Gets the string displayed in cells that contain null values when the DisplayNullString property is true.The default value is an empty string. Indicates whether the PivotTable report displays a custom string in cells that contain errors. Gets the string displayed in cells that contain errors when the DisplayErrorString property is true.The default value is an empty string. Indicates whether the PivotTable report is automatically formatted. Checkbox "autoformat table "which in pivottable option for Excel 2003 Checkbox "autofit column width on update"which in pivot table Options :Layout Format for Excel 2007 Gets the PivotTable auto format type. Indicates whether to add blank rows. This property only applies for the PivotTable auto format types which needs to add blank rows. Indicates whether the specified PivotTable report's outer-row item, column item, subtotal, and grand total labels use merged cells. Indicates whether formatting is preserved when the PivotTable is refreshed or recalculated. Gets whether expand/collapse buttons is shown. Gets whether drilldown is enabled. Indicates whether the PivotTable Field dialog box is available when the user double-clicks the PivotTable field. Gets whether enable the field list for the PivotTable. Indicates whether the PivotTable Wizard is available. Indicates whether hidden page field items in the PivotTable report are included in row and column subtotals, block totals, and grand totals. The default value is False. Returns the text string label that is displayed in the grand total column or row heading. The default value is the string "Grand Total". Indicates whether the PivotTable report is recalculated only at the user's request. Specifies a boolean value that indicates whether the fields of a PivotTable can have multiple filters set on them. Specifies a boolean value that indicates whether the fields of a PivotTable can have multiple filters set on them. Specifies a boolean value that indicates whether the user is allowed to edit the cells in the data area of the pivottable. Enable cell editing in the values area Specifies a boolean value that indicates whether tooltips should be displayed for PivotTable data cells. Specifies a boolean value that indicates whether member property information should be omitted from PivotTable tooltips. Specifies a boolean value that indicates whether show values row. show the values row Specifies a boolean value that indicates whether to include empty columns in the table Specifies a boolean value that indicates whether to include empty rows in the table. Specifies a boolean value that indicates whether fields in the PivotTable are sorted in non-default order in the field list. Specifies a boolean value that indicates whether drill indicators should be printed. print expand/collapse buttons when displayed on pivottable. Gets the title of the alttext Gets the description of the alt text Gets the name of the PivotTable Gets the Column Header Caption of the PivotTable. Specifies the indentation increment for compact axis and can be used to set the Report Layout to Compact Form. Gets the Row Header Caption of the PivotTable. Indicates whether row header caption is shown in the PivotTable report Indicates whether Display field captions and filter drop downs Indicates whether consider built-in custom list when sort data Gets the order in which page fields are added to the PivotTable report's layout. Gets the number of page fields in each column or row in the PivotTable report. Gets a string saved with the PivotTable report. Indicates whether data for the PivotTable report is saved with the workbook. Indicates whether Refresh Data when Opening File. Indicates whether Refresh Data or not. Gets and sets the data source of the pivot table. Set pivottable's source data. Sheet1!$A$1:$C$3 Get pivottable's source data. Refreshes pivottable's data and setting from it's data source. We will gather data from data source to a pivot cache ,then calcualte the data in the cache to the cells. This method is only used to gather all data to a pivot cache. Calculates pivottable's data to cells. Cell.Value in the pivot range could not return the correct result if the method is not been called. This method caclulates data with an inner pivot cache,not original data source. So if the data source is changed, please call RefreshData() method first. Clear PivotTable's data and formatting If this method is not callled before you add or delete PivotField, Maybe the PivotTable data is not corrected Calculates pivottable's range. If this method is not been called,maybe the pivottable range is not corrected. Format all the cell in the pivottable area Style which is to format Format the cell in the pivottable area RowIndex of the cell Column index of the cell Style which is to format the cell A bit that specifies whether pivot item captions on the row axis are repeated on each printed page for pivot fields in tabular form. Indicates whether the print titles for the worksheet are set based on the PivotTable report. The default value is false. Indicates whether items in the row and column areas are visible when the data area of the PivotTable is empty. The default value is true. Indicates whether the PivotTable is selected. Indicates whether the row header in the pivot table should have the style applied. Indicates whether the column header in the pivot table should have the style applied. Indicates whether row stripe formatting is applied. Indicates whether column stripe formatting is applied. Indicates whether column stripe formatting is applied. Sets auto field group by the PivotTable. The row or column field index in the base fields Sets auto field group by the PivotTable. The row or column field in the specific fields Sets manual field group by the PivotTable. The row or column field index in the base fields Specifies the starting value for numeric grouping. Specifies the ending value for numeric grouping. Specifies the grouping type list. Specified by PivotTableGroupType Specifies the interval number group by numeric grouping. Sets manual field group by the PivotTable. The row or column field in the base fields Specifies the starting value for numeric grouping. Specifies the ending value for numeric grouping. Specifies the grouping type list. Specified by PivotTableGroupType Specifies the interval number group by numeric grouping. Sets manual field group by the PivotTable. The row or column field index in the base fields Specifies the starting value for date grouping. Specifies the ending value for date grouping. Specifies the grouping type list. Specified by PivotTableGroupType Specifies the interval number group by in days grouping.The number of days must be positive integer of nonzero Sets manual field group by the PivotTable. The row or column field in the base fields Specifies the starting value for date grouping. Specifies the ending value for date grouping. Specifies the grouping type list. Specified by PivotTableGroupType Specifies the interval number group by in days grouping.The number of days must be positive integer of nonzero Sets ungroup by the PivotTable The row or column field index in the base fields Sets ungroup by the PivotTable The row or column field in the base fields get pivot table row index list of horizontal pagebreaks Layouts the PivotTable in compact form. Layouts the PivotTable in outline form. Layouts the PivotTable in tabular form. Gets the Cell object by the DisplayName of PivotField the DisplayName of PivotField the Cell object Represents PivotTable auto format type. Represents None format type. Represents Classic auto format type. Represents Report1 format type. Represents Report2 format type. Represents Report3 format type. Represents Report4 format type. Represents Report5 format type. Represents Report6 format type. Represents Report7 format type. Represents Report8 format type. Represents Report9 format type. Represents Report10 format type. Represents Table1 format type. Represents Table2 format type. Represents Table3 format type. Represents Table4 format type. Represents Table5 format type. Represents Table6 format type. Represents Table7 format type. Represents Table8 format type. Represents Table9 format type. Represents Table10 format type. Represents the collection of all the PivotTable objects on the specified worksheet. Adds a new PivotTable cache to a PivotCaches collection. The data for the new PivotTable cache. The cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The data for the new PivotTable cache. The cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The data cell range for the new PivotTable.Example : Sheet1!A1:C8 Row index of the cell in the upper-left corner of the PivotTable report's destination range. Column index of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added cache index. Adds a new PivotTable cache to a PivotCaches collection. The data cell range for the new PivotTable.Example : Sheet1!A1:C8 Row index of the cell in the upper-left corner of the PivotTable report's destination range. Column index of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. Indicates whether using same data source when another existing pivot table has used this data source. If the property is true, it will save memory. The new added cache index. Adds a new PivotTable Object to the collection from another PivotTable. The source pivotTable. The cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added PivotTable index. Adds a new PivotTable Object to the collection from another PivotTable. The source pivotTable. Row index of the cell in the upper-left corner of the PivotTable report's destination range. Column index of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added PivotTable index. Adds a new PivotTable Object to the collection with multiple consolidation ranges as data source. The multiple consolidation ranges,such as {"Sheet1!A1:C8","Sheet2!A1:B8"} Whether auto create a single page field. If true,the following param pageFields will be ignored. The pivot page field items. destCellName The name of the new PivotTable report. the name of the new PivotTable report. The new added PivotTable index. Adds a new PivotTable Object to the collection with multiple consolidation ranges as data source. The multiple consolidation ranges,such as {"Sheet1!A1:C8","Sheet2!A1:B8"} Whether auto create a single page field. If true,the following param pageFields will be ignored The pivot page field items. Row index of the cell in the upper-left corner of the PivotTable report's destination range. Column index of the cell in the upper-left corner of the PivotTable report's destination range. The name of the new PivotTable report. The new added PivotTable index. Gets the PivotTable report by index. Gets the PivotTable report by pivottable's name. Gets the PivotTable report by pivottable's position. Clear all pivot tables. Deletes the specified PivotTable PivotTable object Deletes the PivotTable at the specified index the position index in PivotTable collection Represents the pivot table style type. Represents Group Range in a PivotField. Specifies a boolean value that indicates whether the application will use the source data to set the beginning range value. Specifies a boolean value that indicates whether the application will use the source data to set the endding range value. Represents the start object for the group range. Represents the end object for the group range. Represents the interval object for the group range. Represents the group type for the group range. rangeofvalue Seconds Minutes Hours Days Months Quarters Years Renames strategy when columns contains the duplicate names. Throws exception. Named with sigit. Named with leteter. Contains all classes of external connections. Represents the options of loading metadata of the file. Creates an options of loading the metadata. The type of metadata. Gets and sets the type of the metadata which is loading. Represents Workbook file encryption password. The key length. Represents the type of metadata. Encrypts the file. Decrypts the file. Load the properties of the file. Represents the meta data. The following example creates a WorkbookMetadata. [C#] MetadataOptions options = new MetadataOptions(MetadataType.DocumentProperties); WorkbookMetadata meta = new WorkbookMetadata(path + "book1.xlsx", options); meta.CustomDocumentProperties.Add("test", "test"); meta.Save(path + "book2.xlsx"); Create the meta data object. Create the meta data object. Gets the options of the metadata. Returns a DocumentProperties collection that represents all the built-in document properties of the spreadsheet. Returns a DocumentProperties collection that represents all the custom document properties of the spreadsheet. Save the modified metadata to the file. The file name. Save the modified metadata to the stream. The stream. Contains all classes of loading and saving metadata. Specifies how to apply style for the value of the cell. Not formatted. Only formatted with the cell's original style. Formatted with the cell's displayed style. Enumerates strategies for handling calculation precision. Because of the precision issue of IEEE 754 Floating-Point Arithmetic, some "seemingly simple" formulas may not be calcualted as the expected result. Such as formula "=-0.45+0.43+0.02", when calcuating operands by '+' operator directly, the result is not zero. For such kind of precision issue, some special strategies may give the expected result. No strategy applied on calculation. When calculating just use the original double value as operand and return the result directly. Most efficient for performance and applicable for most cases. Rounds the calculation result according with significant digits. Uses decimal as operands when possible. Most inefficient for performance. Represents options for calculation. Indicates if you need to hide the error in calculating formulas. The error may be unsupported function, external links, etc. The custom formula calculation functions to extend the calculation engine. The custom formula calculation engine to extend the default calculation engine of Aspose.Cells. Specifies the stack size for calculating cells recursively. -1 for this property means the calculation will use WorkbookSettings.CalcStackSize of corresponding workbook. Specifies the strategy for processing precision of calcuation. Indicates whether calculate the dependent cells recursively when calculating one cell and it depends on other cells. Represents a InnerCustom XML Data Storage Part (custom XML data within a package). Gets or sets the XML content of this InnerCustom XML Data Storage Part. Gets or sets the XML content of this InnerCustom XML Schema Data Storage Part. Represents a InnerCustom XML Data Storage Part (custom XML data within a package). Adds an item to the collection. The XML content of this InnerCustom XML Data Storage Part. The set of XML schemas that are associated with this custom XML part. Gets an item at the specified index. The index. Contains all classes of smart tag. Represents a smart tag. Indicates whether the smart tag is deleted. Gets and set the properties of the smar tag. Gets the namespace URI of the smart tag. Gets the name of the smart tag. Change the name and the namespace URI of the smart tag. The namespace URI of the smart tag. The name of the smart tag. Represents all smart tags in the cell. Gets the row of the cell smart tags. Gets the column of the cell smart tags. Gets a object at the specific index The index. returns a object. Adds a smart tag. Specifies the namespace URI of the smart tag Specifies the name of the smart tag. The index of smart tag in the list. Represents the options of the smart tag. Indicates whether saving smart tags with the workbook. Repesents the show type of smart tag. Represents all object in the worksheet. Adds a object to a cell. The row of the cell. The column of the cell. Returns index of a object in the worksheet. Add a cell smart tags. The name of the cell. Gets a object by the index. The index of the object in the list. Gets the object of the cell. The row index of the cell. The column index of the cell Returns the object of the cell. Returns null if there is no any smart tags on the cell. Gets the object of the cell. The name of the cell. Returns the object of the cell. Returns null if there is no any smart tags on the cell. Represents the property of the cell smart tag. Gets and sets the name of the property. Gets and sets the value of the property. Represents all properties of cell smart tag. Gets a object. The index Returns a object. Gets a object by the name of the property. The name of the proerty. Returns a object. Adds a property of cell's smart tag. The name of the propery The value of the property. return Represents the show type of the smart tag. Indicates that smart tags are enabled and shown Indicates that the smart tags are enabled but the indicator not be shown. Indicates that smart tags are disabled and not displayed. Specifies how to apply style for parsed values when converting string value to number or datetime. Does not set style for the parsed value. Set the style as built-in number/datetime when the parsed value are plain numeric/datetime values. When ms excel parsing datetime or numeric values according to user's input(such as CSV file), the formatting of those values may be changed, such as leading/tailing zeros of number, year/month/day order of datetime, ...etc. This type is for simulating ms excel's behavior. Set the exact custom format for the parsed value to make the formatted value be same with the original input one. Contains all basic classes of Aspose.Cells. Contains all classes of DigitalSignature. Contains all core classes of Aspose.Cells. Represents identifier information. Returns or sets the name of the object. Returns or sets the value of the content type property. Gets and sets the type of the property. A collection of objects that represent additional information. Adds content type property information. The name of the content type property. The value of the content type property. Adds content type property information. The name of the content type property. The value of the content type property. The type of the content type property. Gets the content type property by the specific index. The index. The content type property Gets the content type property by the property name. The property name. The content type property A collection of objects that represent additional information. Adds custom property information. The name of the custom property. The value of the custom property. Gets the custom property by the specific index. The index. The custom property Gets the custom property by the property name. The property name. The custom property Represents identifier information. Returns or sets the name of the object. Returns or sets the value of the custom property. NOTE: This member is now obsolete. Instead, please use CustomProperty.Value property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Returns or sets the value of the custom property. A collection of built-in document properties.

Provides access to objects by their names (using an indexer) and via a set of typed properties that return values of appropriate types.

Returns a object. Returns a object by the name of the property.

The string names of the properties correspond to the names of the typed properties available from .

If you request a property that is not present in the document, but the name of the property is recognized as a valid built-in name, a new is created, added to the collection and returned. The newly created property is assigned a default value (empty string, zero, false or DateTime.MinValue depending on the type of the built-in property).

If you request a property that is not present in the document and the name is not recognized as a built-in name, a null is returned.

The case-insensitive name of the property to retrieve.
Gets or sets the name of the document's author. Represents an estimate of the number of bytes in the document. Represents an estimate of the number of characters in the document. Represents an estimate of the number of characters (including spaces) in the document. Gets or sets the document comments. Gets or sets the category of the document. Gets or sets the content type of the document. Gets or sets the content status of the document. Gets or sets the company property. Gets or sets the hyperlinkbase property. Gets or sets date of the document creation in UTC.

Aspose.Cells does not update this property when you modify the document.

Gets or sets the document keywords. Gets or sets the date when the document was last printed in UTC.

If the document was never printed, this property will return DateTime.MinValue.

Aspose.Cells does not update this property when you modify the document.

Gets or sets the name of the last author.

Aspose.Cells does not update this property when you modify the document.

Gets or sets the time of the last save in UTC.

Aspose.Cells does not update this property when you modify the document.

Represents an estimate of the number of lines in the document.

Aspose.Cells does not update this property when you modify the document.

Gets or sets the manager property. Gets or sets the name of the application. Represents an estimate of the number of pages in the document. Represents an estimate of the number of paragraphs in the document. Gets or sets the document revision number.

Aspose.Cells does not update this property when you modify the document.

NOTE: This property is now obsolete. Instead, please use BuiltInDocumentPropertyCollection.Revision propery, this property will be removed 12 months later since February 2017. Aspose apologizes for any inconvenience you may have experienced.
Gets or sets the document revision number.

Aspose.Cells does not update this property when you modify the document.

Gets or sets the subject of the document. Gets or sets the informational name of the document template. Gets or sets the title of the document. Gets or sets the total editing time in minutes. Represents the version number of the application that created the document. It's format is "00.0000",for example : 12.0000 Indicates the display mode of the document thumbnail. Indicates whether hyperlinks in a document are up-to-date. Represents an estimate of the number of words in the document. A collection of custom document properties.

Each object represents a custom property of a container document.

[C#] //Instantiate a Workbook object Workbook workbook = new Workbook("C:\\book1.xls"); //Retrieve a list of all custom document properties of the Excel file CustomDocumentPropertyCollection customProperties = workbook.Worksheets.CustomDocumentProperties; [VB.NET] 'Instantiate a Workbook object Dim workbook As New Workbook("C:\book1.xls") 'Retrieve a list of all custom document properties of the Excel file Dim customProperties As CustomDocumentPropertyCollection = workbook.Worksheets.CustomDocumentProperties
Creates a new custom document property. Creates a new custom document property of the PropertyType.String data type. The name of the property. The value of the property. The newly created property object. Creates a new custom document property of the PropertyType.Number data type. The name of the property. The value of the property. The newly created property object. Creates a new custom document property of the PropertyType.DateTime data type. The name of the property. The value of the property. The newly created property object. Creates a new custom document property of the PropertyType.Boolean data type. The name of the property. The value of the property. The newly created property object. Creates a new custom document property of the PropertyType.Float data type. The name of the property. The value of the property. The newly created property object. Creates a new custom document property which links to content. The name of the property. The source of the property The newly created property object. Update custom document property value which links to content. Update custom document property value to linked range. Base class for and collections. [C#] //Instantiate a Workbook object by calling its empty constructor Workbook workbook = new Workbook("C:\\book1.xls"); //Retrieve a list of all custom document properties of the Excel file DocumentPropertyCollection customProperties = workbook.Worksheets.CustomDocumentProperties; //Accessng a custom document property by using the property index DocumentProperty customProperty1 = customProperties[3]; //Accessng a custom document property by using the property name DocumentProperty customProperty2 = customProperties["Owner"]; [VB.NET] 'Instantiate a Workbook object by calling its empty constructor Dim workbook As Workbook = New Workbook("C:\\book1.xls") 'Retrieve a list of all custom document properties of the Excel file Dim customProperties As DocumentPropertyCollection = workbook.Worksheets.CustomDocumentProperties 'Accessng a custom document property by using the property index Dim customProperty1 As DocumentProperty = customProperties(3) 'Accessng a custom document property by using the property name Dim customProperty2 As DocumentProperty = customProperties("Owner") Gets number of items in the collection. Returns a object. Returns a object by the name of the property.

Returns null if a property with the specified name is not found.

The case-insensitive name of the property to retrieve.
Returns a object by index. Zero-based index of the to retrieve. Returns true if a property with the specified name exists in the collection. The case-insensitive name of the property. True if the property exists in the collection; false otherwise. Gets the index of a property by name. The case-insensitive name of the property. The zero based index. Negative value if not found. Removes a property with the specified name from the collection. The case-insensitive name of the property. Removes a property at the specified index. The zero based index. Removes all properties from the collection. Represents a custom or built-in document property. [C#] //Instantiate a Workbook object Workbook workbook = new Workbook("C:\\book1.xls"); //Retrieve a list of all custom document properties of the Excel file DocumentPropertyCollection customProperties = workbook.Worksheets.CustomDocumentProperties; //Accessng a custom document property by using the property index DocumentProperty customProperty1 = customProperties[3]; //Accessng a custom document property by using the property name DocumentProperty customProperty2 = customProperties["Owner"]; [VB.NET] 'Instantiate a Workbook object Dim workbook As Workbook = New Workbook("C:\\book1.xls") 'Retrieve a list of all custom document properties of the Excel file Dim customProperties As DocumentPropertyCollection = workbook.Worksheets.CustomDocumentProperties 'Accessng a custom document property by using the property index Dim customProperty1 As DocumentProperty = customProperties(3) 'Accessng a custom document property by using the property name Dim customProperty2 As DocumentProperty = customProperties("Owner") Returns the name of the property. Gets or sets the value of the property. Indicates whether this property is linked to content The linked content source. Gets the data type of the property. Returns true if this property does not have a name in the OLE2 storage and a unique name was generated only for the public API. Returns the property value as a string.

Converts a number property using Object.ToString(). Converts a boolean property into "Y" or "N". Converts a date property into a short date string.

Returns the property value as integer. Throws an exception if the property type is not PropertyType.Number. Returns the property value as double. Throws an exception if the property type is not PropertyType.Float. Returns the property value as DateTime in local timezone.

Throws an exception if the property type is not PropertyType.Date.

Returns the property value as bool.

Throws an exception if the property type is not PropertyType.Boolean.

Specifies data type of a document property. The property is a boolean value. The property is a date time value. The property is a floating number. The property is an integer number. The property is a string value. The property is a byte array. Contains all classes of Rendering image and pdf. Contains all security options of Rendering pdf. Contains all classes of Table(List Object). Represents a list object on a worksheet. The ListObject object is a member of the ListObjects collection. The ListObjects collection contains all the list objects on a worksheet. [C#] Workbook workbook = new Workbook(); Cells cells = workbook.Worksheets[0].Cells; for (int i = 0; i <5; i++) { cells[0,i].PutValue(CellsHelper.ColumnIndexToName(i)); } for (int row = 1; row <10; row++) { for (int column = 0; column <5; column++) { cells[row, column].PutValue(row * column); } } ListObjectCollection tables = workbook.Worksheets[0].ListObjects; int index = tables.Add(0, 0, 9, 4, true); ListObject table = tables[0]; table.ShowTotals = true; table.ListColumns[4].TotalsCalculation = Aspose.Cells.TotalsCalculation.Sum; workbook.Save(@"C:\Book1.xlsx"); [Visual Basic] Dim workbook As Workbook = New Workbook() Dim cells As Cells = workbook.Worksheets(0).Cells For i As Int32 = 0 To 4 cells(0, i).PutValue(CellsHelper.ColumnIndexToName(i)) Next For row As Int32 = 1 To 9 For column As Int32 = 0 To 4 cells(row, column).PutValue(row * column) Next Next Dim tables As ListObjectCollection = workbook.Worksheets(0).ListObjects Dim index As Int32 = tables.Add(0, 0, 9, 4, True) Dim table As ListObject = tables(0) table.ShowTotals = True table.ListColumns(4).TotalsCalculation = Aspose.Cells.TotalsCalculation.Sum workbook.Save("C:\Book1.xlsx") Gets the start row of the range. Gets the start column of the range. Gets the end row of the range. Gets the end column of the range. Gets ListColumns of the ListObject. Resize the range of the list object. The start row index of the new range. The start column index of the new range. The end row index of the new range. The end column index of the new range. Whether the ListObject has has headers. Put the value to the cell. The row offset. The column offset. The cell value. Gets and sets whether this ListObject show header row. Gets and sets whether this ListObject show total row. Gets the data range of the ListObject. Updates all list columns' name from the worksheet. The value of the cells in the header row of the table must be same as the name of the ListColumn; Cell.PutValue do not auto modify the name of the ListColumn for performance. Gets the linked QueryTable. Gets the data source type of the table. Gets auto filter. Gets and sets the display name. Gets and sets the comment of the table. Inidicates whether the first column in the table should have the style applied. Indicates whether the last column in the table should have the style applied. Indicates whether row stripe formatting is applied. Indicates whether column stripe formatting is applied. Apply the table style to the range. Convert the table to range. Gets and the built-in table style. Gets and sets the table style name. Represents a column in a list. Gets and sets the name of the column. If sets the name of the column, the according cell' value will be changed too. Gets and sets the type of calculation in the Totals row of the list column. Gets the range of this list column. Gets and sets the formula of the list column. Represents A collection of all the objects in the specified ListObject object. Gets the ListColumn by the index. The index. the ListColumn object. Gets the ListColumn by the name. The name of the ListColumn The ListColumn object. Represents a list object on a worksheet. The ListObject object is a member of the ListObjects collection. The ListObjects collection contains all the list objects on a worksheet. [C#] Workbook workbook = new Workbook(); Cells cells = workbook.Worksheets[0].Cells; for (int i = 0; i <5; i++) { cells[0,i].PutValue(CellsHelper.ColumnIndexToName(i)); } for (int row = 1; row <10; row++) { for (int column = 0; column <5; column++) { cells[row, column].PutValue(row * column); } } ListObjectCollection tables = workbook.Worksheets[0].ListObjects; int index = tables.Add(0, 0, 9, 4, true); ListObject table = tables[0]; table.ShowTotals = true; table.ListColumns[4].TotalsCalculation = Aspose.Cells.TotalsCalculation.Sum; workbook.Save(@"C:\Book1.xlsx"); [Visual Basic] Dim workbook As Workbook = New Workbook() Dim cells As Cells = workbook.Worksheets(0).Cells For i As Int32 = 0 To 4 cells(0, i).PutValue(CellsHelper.ColumnIndexToName(i)) Next For row As Int32 = 1 To 9 For column As Int32 = 0 To 4 cells(row, column).PutValue(row * column) Next Next Dim tables As ListObjectCollection = workbook.Worksheets(0).ListObjects Dim index As Int32 = tables.Add(0, 0, 9, 4, True) Dim table As ListObject = tables(0) table.ShowTotals = True table.ListColumns(4).TotalsCalculation = Aspose.Cells.TotalsCalculation.Sum workbook.Save("C:\Book1.xlsx") Gets the start row of the range. Gets the start column of the range. Gets the end row of the range. Gets the end column of the range. Gets ListColumns of the ListObject. Resize the range of the list object. The start row index of the new range. The start column index of the new range. The end row index of the new range. The end column index of the new range. Whether the ListObject has has headers. Put the value to the cell. The row offset. The column offset. The cell value. Gets and sets whether this ListObject show header row. Gets and sets whether this ListObject show total row. Gets the data range of the ListObject. Updates all list columns' name from the worksheet. The value of the cells in the header row of the table must be same as the name of the ListColumn; Cell.PutValue do not auto modify the name of the ListColumn for performance. Gets the linked QueryTable. Gets the data source type of the table. Gets auto filter. Gets and sets the display name. Gets and sets the comment of the table. Indicates whether the first column in the table should have the style applied. Indicates whether the last column in the table should have the style applied. Indicates whether row stripe formatting is applied. Indicates whether column stripe formatting is applied. Apply the table style to the range. Convert the table to range. Gets and the built-in table style. Gets and sets the table style name. Represents a collection of objects in the worksheet. Gets the ListObject by index. The index. The ListObject Gets the ListObject by specified name. ListObject name. The ListObject Adds a ListObject to the worksheet. The start row of the list range. The start row of the list range. The start row of the list range. The start row of the list range. Whether the range has headers. The index of the new ListObject Adds a ListObject to the worksheet. The start cell of the list range. The end cell of the list range. Whether the range has headers. The index of the new ListObject Update all column name of the tables. Represents the table's data source type. Excel Worksheet Table Read-write SharePoint linked List XML mapper Table Query Table Represents the element of the table style. Number of rows or columns in a single band of striping. Applies only when type is firstRowStripe, secondRowStripe, firstColumnStripe, or secondColumnStripe. Gets the element type. Gets the element style. Returns the object. Sets the element style. The element style. Represents all elements of the table style. Gets an element of the table style by the index. The index. Returns object Gets the element of the table style by the The element type. Returns object Adds an element. The type of the element Returns the index of the element in the list. Represents the table style. [C#] Workbook workbook = new Workbook(); Style firstColumnStyle = workbook.CreateStyle(); firstColumnStyle.Pattern = BackgroundType.Solid; firstColumnStyle.BackgroundColor = System.Drawing.Color.Red; Style lastColumnStyle = workbook.CreateStyle(); lastColumnStyle.Font.IsBold = true; lastColumnStyle.Pattern = BackgroundType.Solid; lastColumnStyle.BackgroundColor = System.Drawing.Color.Red; string tableStyleName = "Custom1"; TableStyleCollection tableStyles = workbook.Worksheets.TableStyles; int index1 = tableStyles.AddTableStyle(tableStyleName); TableStyle tableStyle = tableStyles[index1]; TableStyleElementCollection elements = tableStyle.TableStyleElements; index1 = elements.Add(TableStyleElementType.FirstColumn); TableStyleElement element = elements[index1]; element.SetElementStyle(firstColumnStyle); index1 = elements.Add(TableStyleElementType.LastColumn); element = elements[index1]; element.SetElementStyle(lastColumnStyle); Cells cells = workbook.Worksheets[0].Cells; for (int i = 0; i <5; i++) { cells[0, i].PutValue(CellsHelper.ColumnIndexToName(i)); } for (int row = 1; row <10; row++) { for (int column = 0; column <5; column++) { cells[row, column].PutValue(row * column); } } ListObjectCollection tables = workbook.Worksheets[0].ListObjects; int index = tables.Add(0, 0, 9, 4, true); ListObject table = tables[0]; table.ShowTableStyleFirstColumn = true; table.ShowTableStyleLastColumn = true; table.TableStyleName = tableStyleName; workbook.Save(@"C:\Book1.xlsx"); [Visual Basic] Dim workbook As Workbook = New Workbook() Dim firstColumnStyle As Style = workbook.CreateStyle() firstColumnStyle.Pattern = BackgroundType.Solid firstColumnStyle.BackgroundColor = System.Drawing.Color.Red Dim lastColumnStyle As Style = workbook.CreateStyle() lastColumnStyle.Font.IsBold = True lastColumnStyle.Pattern = BackgroundType.Solid lastColumnStyle.BackgroundColor = System.Drawing.Color.Red Dim tableStyleName As String = "Custom1" Dim tableStyles As TableStyleCollection = workbook.Worksheets.TableStyles Dim index1 As Int32 = tableStyles.AddTableStyle(tableStyleName) Dim tableStyle As TableStyle = tableStyles(index1) Dim elements As TableStyleElementCollection = tableStyle.TableStyleElements index1 = elements.Add(TableStyleElementType.FirstColumn) Dim element As TableStyleElement = elements(index1) element.SetElementStyle(firstColumnStyle) index1 = elements.Add(TableStyleElementType.LastColumn) element = elements(index1) element.SetElementStyle(lastColumnStyle) Dim cells As Cells = workbook.Worksheets(0).Cells For i As Int32 = 0 To 4 cells(0, i).PutValue(CellsHelper.ColumnIndexToName(i)) Next For row As Int32 = 1 To 9 For column As Int32 = 0 To 4 cells(row, column).PutValue(row * column) Next Next Dim tables As ListObjectCollection = workbook.Worksheets(0).ListObjects Dim index As Int32 = tables.Add(0, 0, 9, 4, True) Dim table As ListObject = tables(0) table.ShowTableStyleFirstColumn = True table.ShowTableStyleLastColumn = True table.TableStyleName = tableStyleName workbook.Save("C:\Book1.xlsx") Gets the name of table style. Gets all elements of the table style. Represents the Table or PivotTable style element type. Table style element that applies to PivotTable's blank rows. Table style element that applies to table's first column. Table style element that applies to table's first column stripes. Table style element that applies to PivotTable's first column subheading. Table style element that applies to table's first header row cell. Table style element that applies to table's first row stripes. Table style element that applies to PivotTable's first row subheading. Table style element that applies to PivotTable's first subtotal column. Table style element that applies to pivot table's first subtotal row. Table style element that applies to pivot table's grand total column. Table style element that applies to pivot table's grand total row. Table style element that applies to table's first total row cell. Table style element that applies to table's header row. Table style element that applies to table's last column. Table style element that applies to table's last header row cell. Table style element that applies to table's last total row cell. Table style element that applies to pivot table's page field labels. Table style element that applies to pivot table's page field values. Table style element that applies to table's second column stripes. Table style element that applies to pivot table's second column subheading. Table style element that applies to table's second row stripes. Table style element that applies to pivot table's second row subheading. Table style element that applies to PivotTable's second subtotal column. Table style element that applies to PivotTable's second subtotal row. Table style element that applies to PivotTable's third column subheading. Table style element that applies to PivotTable's third row subheading. Table style element that applies to pivot table's third subtotal column. Table style element that applies to PivotTable's third subtotal row. Table style element that applies to table's total row. Table style element that applies to table's entire content. Represents all custom table styles. Adds a custom table style. The table style name. The index of the table style. Adds a custom pivot table style. The pivot table style name. The index of the pivot table style. Gets the table style by the index. The position of the table style in the list. The table style object. Gets the table style by the name. The table style name. The table style object. Gets the builtin table style The builtin table style type. Represents the built-in table style type. Determines the type of calculation in the Totals row of the list column. Represents Sum totals calcultation. Represents Count totals calcultation. Represents Average totals calcultation. Represents Max totals calcultation. Represents Min totals calcultation. Represents Var totals calcultation. Represents Count Nums totals calcultation. Represents StdDev totals calcultation. Represents No totals calcultation. Represents custom calcultation. Contains all classes of VBA project. Contains data returned by file format detection methods. Gets whether the file is protected by Microsoft Rights Management Server. Returns true if the document is encrypted and requires a password to open. Gets the detected file format. Gets the detected load format. Represents cells data handler for reading large spreadsheet files in light weight mode. When reading a workbook by this mode, will be checked when reading every worksheet in the workbook. For one sheet, if gives true, then all data and properties of rows/cells of this sheet will be checked and processed by the implementation of this interface. For every row, will be called to check whether it need to be processed. If a row needs to be processed, properties of this row will be read firstly and user can access its properties by . if row's cells need to be processed too, then should returns true and then will be called for every existing cell in this row to check whether one cell need to be processed. If one cell needs to be processed, then will be called to process the cell by the implementation of this interface. Starts to process a worksheet. It will be called before reading cells data of a worksheet. the worksheet to read cells data. whether this sheet's cells data needs to be processed. false to ignore this sheet. Prepares to process a row. the index of next row to be processed whether this row(properties or cells data) needs to be processed. false to ignore this row and its cells and check the next row. Starts to process one row. It will be called after row's properties such as height, style, ...etc. have been read. However, cells in this row has not been read yet. Row object which is being processed currently. whether this row's cells need to be processed. false to ignore all cells in this row. Prepares to process a cell. It will be called when reaching an existing cell in current row. Current row is the row of last call of . column index of the cell to be processed whether this cell needs to be processed. false to ignore the cell and check the next one until reach the end of cells data of current row Starts to process one cell. It will be called after one cell's data has been read. Cell object which is being processed currently whether this cell needs to be kept in cells model of current sheet. Commonly it should be false so that all cells will not be kept in memory after being processed and then memory be saved. For some special purpose such as user needs to access some cells later after the whole workbook having been processed, user can make this method return true to keep those special cells in Cells model and access them later by APIs such as Cells[row, column]. However, keeping cells data in Cells model will requires more memory and if all cells are kept then reading template file in LightCells mode will become same with reading it in normal way. Represents the options to filter data when loading workbook from template. Load nothing Load all Load cells whose value is blank Load cells whose value is string Load cells whose value is numeric(including datetime) Load cells whose value is error Load cells whose value is bool Load cells value(all value types) only Load styles for cell formatting Load formulas including defined Names Load cells data including values, formulas and formattings Load document properties Load charts Load shapes Load merged cells Load conditional formattings Load data validations Load pivot tables Load tables Load settings for workbook and worksheet. Represents the custom icon of conditional formatting rule. Get the icon set data icon's type icon's index Gets the icon set data. Gets and sets the icon set type. Gets and sets the icon's index in the icon set. Represents a collection of objects. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Get Conditional Formattings ConditionalFormattingCollection cformattings = sheet.ConditionalFormattings; //Adds an empty conditional formatting int index = cformattings.Add(); //Get newly added Conditional formatting FormatConditionCollection fcs = cformattings[index]; //Sets the conditional format range. CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 0; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); ca = new CellArea(); ca.StartRow = 1; ca.EndRow = 1; ca.StartColumn = 1; ca.EndColumn = 1; fcs.AddArea(ca); //Sets condition int idx = fcs.AddCondition(FormatConditionType.IconSet); FormatCondition cond = fcs[idx]; //Sets condition's type cond.IconSet.Type = IconSetType.ArrowsGray3; //Add custom iconset condition. ConditionalFormattingIcon cfIcon = cond.IconSet.CfIcons[0]; cfIcon.Type = IconSetType.Arrows3; cfIcon.Index = 0; ConditionalFormattingIcon cfIcon1 = cond.IconSet.CfIcons[1]; cfIcon1.Type = IconSetType.ArrowsGray3; cfIcon1.Index = 1; ConditionalFormattingIcon cfIcon2 = cond.IconSet.CfIcons[2]; cfIcon2.Type = IconSetType.Boxes5; cfIcon2.Index = 2; //Saving the Excel file workbook.Save("C:\\output.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) 'Get Conditional Formattings Dim cformattings As ConditionalFormattingCollection = sheet.ConditionalFormattings 'Adds an empty conditional formatting Dim index As Integer = cformattings.Add() 'Get newly added Conditional formatting Dim fcs As FormatConditionCollection = cformattings(index) 'Sets the conditional format range. Dim ca As New CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) ca = New CellArea() ca.StartRow = 1 ca.EndRow = 1 ca.StartColumn = 1 ca.EndColumn = 1 fcs.AddArea(ca) //Sets condition Dim idx As Integer =fcs.AddCondition(FormatConditionType.IconSet) Dim cond As FormatCondition=fcs[idx] //Sets condition's type cfIcon.Type = IconSetType.ArrowsGray3 'Add custom iconset condition. Dim cfIcon As ConditionalFormattingIcon = cond.IconSet.CfIcons[0] cfIcon.Type = IconSetType.Arrows3 cfIcon.Index=0 Dim cfIcon1 As ConditionalFormattingIcon = cond.IconSet.CfIcons[1] cfIcon1.Type = IconSetType.ArrowsGray3 cfIcon1.Index=1 Dim cfIcon2 As ConditionalFormattingIcon = cond.IconSet.CfIcons[2] cfIcon2.Type = IconSetType.Boxes5 cfIcon2.Index=2 'Saving the Excel file workbook.Save("C:\output.xls") Gets the ConditionalFormattingIcon element at the specified index. The zero based index of the element. The element at the specified index. Adds object. The value type. The Index. Returns the index of new object in the list. Adds object. Returns the index of new object in the list. Specifies the axis position for a range of cells with conditional formatting as data bars. Display the axis at a variable position based on the ratio of the minimum negative value to the maximum positive value in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction. When all values are positive or all values are negative, no axis is displayed. NOTE: This enum type is now obsolete. Instead, please use DataBarAxisPosition.Automatic enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Display the axis at the midpoint of the cell regardless of the set of values in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction. NOTE: This enum type is now obsolete. Instead, please use DataBarAxisPosition.Midpoint enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. No axis is displayed, and both positive and negative values are displayed in the left-to-right direction. NOTE: This enum type is now obsolete. Instead, please use DataBarAxisPosition.None enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Display the axis at a variable position based on the ratio of the minimum negative value to the maximum positive value in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction. When all values are positive or all values are negative, no axis is displayed. Display the axis at the midpoint of the cell regardless of the set of values in the range. Positive values are displayed in a left-to-right direction. Negative values are displayed in a right-to-left direction. No axis is displayed, and both positive and negative values are displayed in the left-to-right direction. Represents the border of the data bars specified by a conditional formatting rule. Gets or sets the border's color of data bars specified by a conditional formatting rule. Gets or sets the border's type of data bars specified by a conditional formatting rule. Specifies the border type of a data bar. The data bar has no border. NOTE: This enum type is now obsolete. Instead, please use DataBarBorderType.None enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. The data bar has a solid border. NOTE: This enum type is now obsolete. Instead, please use DataBarBorderType.Solid enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. The data bar has no border. The data bar has a solid border. Specifies how a data bar is filled with color. The data bar is filled with solid color. NOTE: This enum type is now obsolete. Instead, please use DataBarFillType.Solid enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. The data bar is filled with a color gradient. NOTE: This enum type is now obsolete. Instead, please use DataBarFillType.Gradient enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. The data bar is filled with solid color. The data bar is filled with a color gradient. Specifies whether to use the same border and fill color as postive data bars. Use the color specified in the Negative Value and Axis Setting dialog box or by using the ColorType and BorderColorType properties of the NegativeBarFormat object. NOTE: This enum type is now obsolete. Instead, please use DataBarNegativeColorType.Color enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Use the same color as positive data bars. NOTE: This enum type is now obsolete. Instead, please use DataBarNegativeColorType.SameAsPositive enum type. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Use the color specified in the Negative Value and Axis Setting dialog box or by using the ColorType and BorderColorType properties of the NegativeBarFormat object. Use the same color as positive data bars. Represents the color settings of the data bars for negative values that are defined by a data bar conditional formating rule. Gets or sets a FormatColor object that you can use to specify the border color for negative data bars. Gets whether to use the same border color as positive data bars. Gets or sets a FormatColor object that you can use to specify the fill color for negative data bars. Gets or sets whether to use the same fill color as positive data bars. Represents the setting of deleting rows/columns. Indicates if update references in other worksheets. Represents the result of conditional formatting which applies to a cell. Gets the conditional result style. Gets the image of icon set. Gets the DataBar object. Gets the ColorScale object. Gets the display color of color scale. Callback interface of warning. Our callback only needs to implement the "Warning" method. warning info Represents the type of target attribute in HTML tag. Opens the linked document in a new window or tab Opens the linked document in the parent frame Opens the linked document in the same frame as it was clicked (this is default) Opens the linked document in the full body of the window Specifies the type of using quotation marks for values in text format files. All values that contain special characters such as quotation mark, separator character will be quoted. Same with the behavior of ms excel for exporting text file. All values will be quoted always. Only quote values when needed. Such as, if one value contains quotation mark but the quotation mark is not at the begin of this value, this value will not be quoted. All values will not be quoted. The exported text file with this type may not be read back correctly because the needed quotation marks being absent. Represents QueryTable information. Gets the connection id of the query table. Gets the name of querytable. Returns or sets the PreserveFormatting of the object. Returns or sets the AdjustColumnWidth of the object. A collection of objects that represent QueryTable collection information. Gets the querytable by the specific index. The index. The querytable Represents an individual scenario. Gets and sets the comment of scenario. Gets and sets the name of scenario. Gets name of user who last changed the scenario. Indicates whether scenario is hidden. Indicates whether scenario is locked for editing when the sheet is protected. Gets the input cells of scenario. Represents the list of scenarios. Gets and sets which scenario is selected. Indicates which scenario was last selected by the user to be run/shown. Gets the object by the index. The specific index in the list. Adds a scenario. The name of scenario. The index in the list of scanarios. Represents input cell for the scenario. Gets and sets the row index of the input cell. Gets and sets the column index of the input cell. Gets and sets the input cell address. Gets and sets value of the input cell. Indiciates whether input cell is deleted. Represents the list of the scenario's input cells. Gets by index in the list. The specific index in the list The object Adds an input cell. The row index of input cell. The column index of input cell. The value of input cell. Represents callback interface of processing smartmarker. Callback for processing a smart marker. The sheet index. The row index. The column index. The table name of smartmarker. The table name of smartmarker. Represents category type of cell's number formatting. General Text Number Date or Date and Time Time Fraction Scientific This type specifies the cap types of the text. None caps Apply all caps on the text. Apply small caps to the text. This type specifies the strike type. A single strikethrough applied on the text A double strikethrough applied on the text No strike is applied to the text Represents how to update links to other workbooks when the workbook is opened. Prompt user to update. Do not update, and do not prompt user. Always updat. Warning info Get warning type. Get description of warning info. WaringType Font substitution warning type when a font has not been found, this warning type can be get. Duplicate defined name is found in the file. Represents a root object to create an Excel spreadsheet. The Workbook class denotes an Excel spreadsheet. Each spreadsheet can contain multiple worksheets. The basic feature of the class is to open and save native excel files. The class has some advanced features like copying data from other Workbooks, combining two Workbooks and protecting the Excel spreadsheet. The following example creates a Workbook, opens a file named designer.xls in it and makes the horizontal and vertical scroll bars invisible for the Workbook. It then replaces two string values with an Integer value and string value respectively within the spreadsheet and finally sends the updated file to the client browser. [C#] //Open a designer file string designerFile = MapPath("Designer") + "\\designer.xls"; Workbook workbook = new Workbook(designerFile); //Set scroll bars workbook.IsHScrollBarVisible = false; workbook.IsVScrollBarVisible = false; //Replace the placeholder string with new values int newInt = 100; workbook.Replace("OldInt", newInt); string newString = "Hello!"; workbook.Replace("OldString", newString); XlsSaveOptions saveOptions = new XlsSaveOptions(); workbook.Save(Response, "result.xls", ContentDisposition.Inline, saveOptions); [Visual Basic] 'Open a designer file Dim designerFile as String = MapPath("Designer") + "\designer.xls" Dim workbook as Workbook = new Workbook(designerFile) 'Set scroll bars workbook.IsHScrollBarVisible = False workbook.IsVScrollBarVisible = False 'Replace the placeholder string with new values Dim newInt as Integer = 100 workbook.Replace("OldInt", newInt) Dim newString as String = "Hello!" workbook.Replace("OldString", newString) Dim saveOptions as XlsSaveOptions = new XlsSaveOptions() workbook.Save(Response, "result.xls", ContentDisposition.Inline, saveOptions) Represents the workbook settings. Initializes a new instance of the class. The following code shows how to use the Workbook constructor to create and initialize a new instance of the class. [C#] Workbook workbook = new Workbook(); [Visual Basic] Dim workbook as Workbook = new Workbook() The default file format type is Excel97To2003.If want create other format file type, please call Workbook(FileFormatType fileFormatType). Initializes a new instance of the class. The new file format. The following code shows how to use the Workbook constructor to create and initialize a new instance of the class. [C#] Workbook workbook = new Workbook(FileFormatType.Excel2007Xlsx); [Visual Basic] Dim workbook as Workbook = new Workbook(FileFormatType.Excel2007Xlsx) The default file format type is Excel97To2003. Initializes a new instance of the class and open a file. The file name. Initializes a new instance of the class and open a stream. The stream. Initializes a new instance of the class and open a file. The file name. The load options Initializes a new instance of the class and open stream. The stream. The load options Initialize the workbook object. NOTE: This member is now obsolete. Instead, please use Workbook constructor. This property will be removed 12 months later since August 2016. Aspose apologizes for any inconvenience you may have experienced. Saves Excel file to a MemoryStream object and returns it. MemoryStream object which contains an Excel file. This method provides same function as Save method and only save the workbook as Excel97-2003 xls file. It's mainly for calling from COM clients. Creates and saves the specified file to the disk. The name of created file.

File format is according to file extension.

After calling Save method, data in Workbook instance will be reset.
Saves the workbook to the disk. The file name. The save format type. Saves the workbook to the disk. The file name. The save options. Saves the workbook to the stream. The file stream. The save file format type. Saves the workbook to the stream. The file stream. The save options. Gets the collection in the spreadsheet. collection Indicates whether license is set. Gets the collection. NOTE: This class is now obsolete. Instead, please use Workbook.CreateStyle() to create and manipulate style for workbook instead of StyleCollection.Add() and use Workbook.GetNamedStyle(string) to get named style instead of StyleCollection[string]. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced. Remove all unused styles. Creates a new style. Returns a style object. Creates built-in style by given type. style object Creates a object. Returns a object. Replaces a cell's value with a new string. [C#] Workbook workbook = new Workbook(); ...... workbook.Replace("AnOldValue", "NewValue"); [Visual Basic] Dim workbook As Workbook = New Workbook() ........ workbook.Replace("AnOldValue", "NewValue") Cell placeholder String value to replace Replaces a cell's value with a new integer. [C#] Workbook workbook = new Workbook(); ...... int newValue = 100; workbook.Replace("AnOldValue", newValue); [Visual Basic] Dim workbook As Workbook = New Workbook() ......... Dim NewValue As Integer = 100 workbook.Replace("AnOldValue", NewValue) Cell placeholder Integer value to replace Replaces a cell's value with a new double. [C#] Workbook workbook = new Workbook(); ...... double newValue = 100.0; workbook.Replace("AnOldValue", newValue); [Visual Basic] Dim workbook As Workbook = New Workbook() ......... Dim NewValue As Double = 100.0 workbook.Replace("AnOldValue", NewValue) Cell placeholder Double value to replace Replaces a cell's value with a new string array. [C#] Workbook workbook = new Workbook(); ...... string[] newValues = new string[]{"Tom", "Alice", "Jerry"}; workbook.Replace("AnOldValue", newValues, true); [Visual Basic] Dim workbook As Workbook = New Workbook() ............. Dim NewValues() As String = New String() {"Tom", "Alice", "Jerry"} workbook.Replace("AnOldValue", NewValues, True) Cell placeholder String array to replace True - Vertical, False - Horizontal Replaces cells' values with an integer array. [C#] Workbook workbook = new Workbook(); ...... int[] newValues = new int[]{1, 2, 3}; workbook.Replace("AnOldValue", newValues, true); [Visual Basic] Dim workbook As Workbook = New Workbook() ........... Dim NewValues() As Integer = New Integer() {1, 2, 3} workbook.Replace("AnOldValue", NewValues, True) Cell placeholder Integer array to replace True - Vertical, False - Horizontal Replaces cells' values with a double array. [C#] Workbook workbook = new Workbook(); ...... double[] newValues = new double[]{1.23, 2.56, 3.14159}; workbook.Replace("AnOldValue", newValues, true); [Visual Basic] Dim workbook As Workbook = New Workbook() ........... Dim NewValues() As Double = New Double() {1.23, 2.56, 3.14159} workbook.Replace("AnOldValue", NewValues, True) Cell placeholder Double array to replace True - Vertical, False - Horizontal Replaces cells' values with new data. The boolean value to be replaced. New value. Can be string, integer, double or DateTime value. Replaces cells' values with new data. The integer value to be replaced. New value. Can be string, integer, double or DateTime value. Replaces a cell's value with a new string. Cell placeholder String value to replace The replace options Copies data from a source Workbook object. Source Workbook object. Combines another Workbook object. Another Workbook object. Currently, only cell data and cell style of the second Workbook object can be combined. Images, charts and other drawing objects are not supported. Returns colors in the palette for the spreadsheet. The palette has 56 entries, each represented by an RGB value. Gets the style in the style pool. All styles in the workbook will be gathered into a pool. There is only a simple reference index in the cells. The index. The style in the pool corresponds to given index, may be null. If the returned style is changed, the style of all cells(which refers to this style) will be changed. Gets number of the styles in the style pool. Gets number of the styles in the style pool. Gets the named style in the style pool. name of the style named style, maybe null. Changes the palette for the spreadsheet in the specified index. Color structure. Palette index, 0 - 55. The palette has 56 entries, each represented by an RGB value. If you set a color which is not in the palette, it will not take effect. So if you want to set a custom color, please change the palette at first.

The following is the standard color palette.

Color¡¡Red¡¡Green¡¡Blue¡¡
Black¡¡0¡¡0¡¡0¡¡
White¡¡255¡¡255¡¡255¡¡
Red¡¡255¡¡0¡¡0¡¡
Lime¡¡0¡¡255¡¡0¡¡
Blue¡¡0¡¡0¡¡255¡¡
Yellow¡¡255¡¡255¡¡0¡¡
Magenta¡¡255¡¡0¡¡255¡¡
Cyan¡¡0¡¡255¡¡255¡¡
Maroon¡¡128¡¡0¡¡0¡¡
Green¡¡0¡¡128¡¡0¡¡
Navy¡¡0¡¡0¡¡128¡¡
Olive¡¡128¡¡128¡¡0¡¡
Purple¡¡128¡¡0¡¡128¡¡
Teal¡¡0¡¡128¡¡128¡¡
Silver¡¡192¡¡192¡¡192¡¡
Gray¡¡128¡¡128¡¡128¡¡
Color17¡¡153¡¡153¡¡255¡¡
Color18¡¡153¡¡51¡¡102¡¡
Color19¡¡255¡¡255¡¡204¡¡
Color20¡¡204¡¡255¡¡255¡¡
Color21¡¡102¡¡0¡¡102¡¡
Color22¡¡255¡¡128¡¡128¡¡
Color23¡¡0¡¡102¡¡204¡¡
Color24¡¡204¡¡204¡¡255¡¡
Color25¡¡0¡¡0¡¡128¡¡
Color26¡¡255¡¡0¡¡255¡¡
Color27¡¡255¡¡255¡¡0¡¡
Color28¡¡0¡¡255¡¡255¡¡
Color29¡¡128¡¡0¡¡128¡¡
Color30¡¡128¡¡0¡¡0¡¡
Color31¡¡0¡¡128¡¡128¡¡
Color32¡¡0¡¡0¡¡255¡¡
Color33¡¡0¡¡204¡¡255¡¡
Color34¡¡204¡¡255¡¡255¡¡
Color35¡¡204¡¡255¡¡204¡¡
Color36¡¡255¡¡255¡¡153¡¡
Color37¡¡153¡¡204¡¡255¡¡
Color38¡¡255¡¡153¡¡204¡¡
Color39¡¡204¡¡153¡¡255¡¡
Color40¡¡255¡¡204¡¡153¡¡
Color41¡¡51¡¡102¡¡255¡¡
Color42¡¡51¡¡204¡¡204¡¡
Color43¡¡153¡¡204¡¡0¡¡
Color44¡¡255¡¡204¡¡0¡¡
Color45¡¡255¡¡153¡¡0¡¡
Color46¡¡255¡¡102¡¡0¡¡
Color47¡¡102¡¡102¡¡153¡¡
Color48¡¡150¡¡150¡¡150¡¡
Color49¡¡0¡¡51¡¡102¡¡
Color50¡¡51¡¡153¡¡102¡¡
Color51¡¡0¡¡51¡¡0¡¡
Color52¡¡51¡¡51¡¡0¡¡
Color53¡¡153¡¡51¡¡0¡¡
Color54¡¡153¡¡51¡¡102¡¡
Color55¡¡51¡¡51¡¡153¡¡
Color56¡¡51¡¡51¡¡51¡¡
Checks if a color is in the palette for the spreadsheet. Color structure. Returns true if this color is in the palette. Otherwise, returns false Calculates the result of formulas.

Now Workbook built-in functions are not supported in this method:

[A]

ASC

[B]

BAHTTEXT

[C]

CALL, CLEAN, CODE, CONVERT, CUBEKPIMEMBER, CUBEMEMBER, CUBEMEMBERPROPERTY, CUBERANKEDMEMBER, CUBESET, CUBESETCOUNT, CUBEVALUE

[E]

EUROCONVERT

[G]

GETPIVOTDATA

[I]

INFO

[J]

JIS

[P]

PHONETIC

[R]

REGISTER.ID, RTD

[S]

SQL.REQUEST

[Y]

YIELD, YIELDDISC

Calculates the result of formulas. Indicates if hide the error in calculating formulas. The error may be unsupported function, external links, etc. Calculates the result of formulas. Indicates if hide the error in calculating formulas. The error may be unsupported function, external links, etc. The custom formula calculation functions to extend the calculation engine. Calcualting formulas in this workbook. Options for calculation Gets or sets the default object of the workbook. The DefaultStyle property is useful to implement a Style for the whole Workbook. The following code creates and instantiates a new Workbook and sets a default to it. [C#] Workbook workbook = new Workbook(); Style defaultStyle = workbook.DefaultStyle; defaultStyle.Font.Name = "Tahoma"; workbook.DefaultStyle = defaultStyle; [Visual Basic] Dim workbook as Workbook = new Workbook() Dim defaultStyle as Style = workbook.DefaultStyle defaultStyle.Font.Name = "Tahoma" workbook.DefaultStyle = defaultStyle Find best matching Color in current palette. Raw color. Best matching color. Indicates if this spreadsheet is digitally signed. Set Encryption Options. The encryption type. The key length. Check whether the password is correct write protected password. The password. NOTE: This member is now obsolete. Instead, please use WorkbookSettings.WriteProtection.ValidatePassword method. This property will be removed 12 months later since October 2015. Aspose apologizes for any inconvenience you may have experienced. Protects a workbook. Protection type. Password to protect the workbook. Unprotects a workbook. Password to unprotect the workbook. Removes digital signature from this spreadsheet. Accepts all tracked changes in the workbook. Indicates if this spreadsheet contains macro/VBA. Gets if the workbook has any tracked changes Gets and sets current file name of this workbook. If this workbook is used as external data source for another workbook which contains some external formula references, please set correct value for this property. The set value(combined with CellsHelper.StartupPath,CellsHelper.AltStartPath,CellsHelper.LibraryPath if those properties exist) should be same with the external reference defined in the formula. Gets a DataSorter object to sort data. Removes all external links in the workbook. Gets theme color. The theme color type. The theme color. Sets the theme color The theme color type. the theme color Gets the theme name. Customs the theme. The theme name The theme colors The length of colors should be 12.
Array index¡¡Theme type¡¡
0¡¡Backgournd1¡¡
1¡¡Text1¡¡
2¡¡Backgournd2¡¡
3¡¡Text2¡¡
4¡¡Accent1¡¡
5¡¡Accent2¡¡
6¡¡Accent3¡¡
7¡¡Accent4¡¡
8¡¡Accent5¡¡
9¡¡Accent6¡¡
10¡¡Hyperlink¡¡
11¡¡Followed Hyperlink¡¡
Copies the theme from another workbook. Source workbook. Indicates whether this workbook contains external links to other data sources. Whether this workbook contains external links to other data sources. If this workbook contains external links to other data source, Aspose.Cells will attempt to retrieve the latest data. External workbooks are referenced by this workbook. If it's null, we will directly open the external linked files.. If it's not null, we will check whether the external link in the array first; if not, we will open the external linked files again. If the method is not called before calculating formulas, Aspose.Cells will use the previous information(cached in the file); Please set CellsHelper.StartupPath,CellsHelper.AltStartPath,CellsHelper.LibraryPath. And please set Workbook.FileName if this workbook is from a stream, otherwise Aspose.Cells could not get the external link full path sometimes and external data cannot be fetched and used when calculating formulas. Returns a DocumentProperties collection that represents all the built-in document properties of the spreadsheet. A new property cannot be added to built-in document properties list. You can only get a built-in property and change its value. The following is the built-in properties name list:

Title

Subject

Author

Keywords

Comments

Template

Last Author

Revision Number

Application Name

Last Print Date

Creation Date

Last Save Time

Total Editing Time

Number of Pages

Number of Words

Number of Characters

Security

Category

Format

Manager

Company

Number of Bytes

Number of Lines

Number of Paragraphs

Number of Slides

Number of Notes

Number of Hidden Slides

Number of Multimedia Clips

[C#] DocumentProperty doc = workbook.BuiltInDocumentProperties["Author"]; doc.Value = "John Smith"; [Visual Basic] Dim doc as DocumentProperty = workbook.BuiltInDocumentProperties("Author") doc.Value = "John Smith"
Returns a DocumentProperties collection that represents all the custom document properties of the spreadsheet. [C#] excel.CustomDocumentProperties.Add("Checked by", "Jane"); [Visual Basic] excel.CustomDocumentProperties.Add("Checked by", "Jane") Gets and sets the file format. Gets and sets the interrupt monitor. Gets the contenttypeproperties objects in the workbook. Represents a InnerCustom XML Data Storage Part (custom XML data within a package). Gets and sets the XML file that defines the Ribbon UI. Gets and sets the Absolute path of the file. Only used for external links. Imports an xml file into the workbook. the path of the xml file. the destination sheet name . the destination row of the xml. the destination column of the xml. Export XML data. name of the XML map that need to be exported the export path Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Specifies write protection settings for a workbook. Indicates if the Read Only Recommended option is selected. Indicates whether this workbook is write protected. Sets the protected password to modify the file. Returns true if the specified password is the same as the write-protection password the file was protected with. The specified password. Represents all parameters' type or return value type of function. Allows users to add their custom value parser for parsing string values to other proper cell value object. Parses given string to proper value object. The string value to be parsed Parsed value object from given string. If given string cannot be parsed to proper value object, returns null. Gets the formatting pattern for last invocation of . The formatting pattern should be same with Style.InnerCustom of InvariantCulture to be used for formatting corresponding cell in ms excel. Represents the options of importing data into cells. Creates the default imporing options. Indicates whether apply the style of the grid view to cells. Gets or sets a value that indicates whether the string value should be converted to numeric or date value. Gets or sets a value that indicates whether new rows should be added for importing data records. Gets or sets a value that indicates whether field name should be imported to the first row. Gets or sets date format string for cells with imported datetime values. Gets or sets the number formats Gets or sets total row count to import from data source. -1 means all rows of given data source. Gets or sets total column count to import from data source. -1 means all rows of given data source. Gets or sets the columns(0-based) to import from data source. null means all columns should be imported. Default value for the value in the table is null. Indicates whether the value contains html tags. Represents data table. Gets the columns' name. Gets the count of the records. -1 for unknown records count. Move the cursor to the front of this object, just before the first row. Gets the data stored in the column specified by index. The zero-based index of the column. Gets the data stored in the column specified by column name. The column name. Moves the cursor down one row from its current position. if the new current row is valid; false if there are no more rows Represents all erorr check option. Gets object by the given index. The index Return object Add an error check option. Error check setting applied on certain ranges. [C#] Workbook workbook = new Workbook(); ErrorCheckOptionCollection opts = workbook.Worksheets[0].ErrorCheckOptions; int optionIdx = opts.Add(); ErrorCheckOption opt = opts[optionIdx]; opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistFormula, false); opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistRange, false); opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextDate, false); opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextNumber, false); opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.Validation, false); opt.AddRange(CellArea.CreateCellArea("A1", "B10")); workbook.Save(@"D:\Filetemp\Book1.xlsx"); [Visual Basic] Dim workbook As Workbook = New Workbook() Dim opts As ErrorCheckOptionCollection = workbook.Worksheets(0).ErrorCheckOptions Dim optionIdx As Integer = opts.Add() Dim opt As ErrorCheckOption = opts(optionIdx) opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistFormula, False) opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.InconsistRange, False) opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextDate, False) opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.TextNumber, False) opt.SetErrorCheck(Aspose.Cells.ErrorCheckType.Validation, False) opt.AddRange(CellArea.CreateCellArea("A1", "B10")) workbook.Save("D:\Filetemp\Book1.xlsx") Checks whether given error type will be checked. error type can be checked return true if given error type will be checked. Sets whether given error type will be checked. error type can be checked. true if given error type needs to be checked. Gets the count of ranges that influenced by this setting. the count of ranges that influenced by this setting. Adds one influenced range by this setting. the range to be added. the index of the added range in the range list of this setting. Gets the influenced range of this setting by given index. the index of range return influenced range at given index. Removes one range by given index. the index of the range to be removed. Represents all error check type. check for calculation errors check for references to empty cells check the format of numeric values check formulas with references to less than the entirety of a range containing continuous data check formulas that are inconsistent with formulas in neighboring cells. check the format of date/time values check for unprotected formulas whether to perform data validation Ignore errors when cells contain a value different from a calculated column formula. Represents all operator about the interrupt. Interrupt the current operator. Provides methods to license the component. In this example, an attempt will be made to find a license file named MyLicense.lic in the folder that contains the component, in the folder that contains the calling assembly, in the folder of the entry assembly and then in the embedded resources of the calling assembly. [C#] License license = new License(); license.SetLicense("MyLicense.lic"); [Visual Basic] Dim license As license = New license License.SetLicense("MyLicense.lic") the component jar file: License license = new License(); license.setLicense("MyLicense.lic"); Initializes a new instance of this class. In this example, an attempt will be made to find a license file named MyLicense.lic in the folder that contains the component, in the folder that contains the calling assembly, in the folder of the entry assembly and then in the embedded resources of the calling assembly. [C#] License license = new License(); license.SetLicense("MyLicense.lic"); [Visual Basic] Dim license As license = New license License.SetLicense("MyLicense.lic") the component jar file: License license = new License(); license.setLicense("MyLicense.lic"); Licenses the component.

Tries to find the license in the following locations:

1. Explicit path.

2. The folder that contains the Aspose component assembly.

3. The folder that contains the client's calling assembly.

4. The folder that contains the entry (startup) assembly.

5. An embedded resource in the client's calling assembly.

Note:On the .NET Compact Framework, tries to find the license only in these locations:

1. Explicit path.

2. An embedded resource in the client's calling assembly.

2. The current working directory of the java application.

3. The folder that contains the Aspose component JAR file.

4. The folder that contains the client's calling JAR file.

In this example, an attempt will be made to find a license file named MyLicense.lic in the folder that contains the component, in the folder that contains the calling assembly, in the folder of the entry assembly and then in the embedded resources of the calling assembly. [C#] License license = new License(); license.SetLicense("MyLicense.lic"); [Visual Basic] Dim license As License = New License license.SetLicense("MyLicense.lic") the component jar file: License license = new License(); license.setLicense("MyLicense.lic"); Can be a full or short file name or name of an embedded resource. Use an empty string to switch to evaluation mode.
Licenses the component. A stream that contains the license.

Use this method to load a license from a stream.

[C#] License license = new License(); license.SetLicense(myStream); [Visual Basic] Dim license as License = new License license.SetLicense(myStream) License license = new License(); license.setLicense(myStream); void setLicense(java.io.InputStream stream)
Represents Data provider for saving large spreadsheet files in light weight mode. When saving a workbook by this mode, will be checked when saving every worksheet in the workbook. For one sheet, if gives true, then all data and properties of rows/cells of this sheet to be saved will be provided by the implementation of this interface. In the first place, will be called to get the next row index to be saved. If a valid row index is returned(the row index must be in ascending order for the rows to be saved), then a Row object representing this row will be provided for implementation to set its properties by . For one row, will be checked firstly. If a valid column index be returned(the column index must be in ascending order for all cells of one row to be saved), then a Cell object representing this cell will be provided for implementation to set its data and properties by . After data of this cell is set, this cell will be saved directy to the generated spreadsheet file and the next cell will be checked and processed. Starts to save a worksheet. It will be called at the beginning of saving a worksheet during saving a workbook. If the provider needs to refer to sheetIndex later in startRow(Row) or startCell(Cell) method, that is, if the process needs to know which worksheet is being processed, the implementation should retain the sheetIndex value here. index of current sheet to be saved. true if this provider will provide data for the given sheet; false if given sheet should use its normal data model(Cells). Gets the next row to be saved. It will be called at the beginning of saving a row and its cells data(before ). the next row index to be saved. -1 means the end of current sheet data has been reached and no further row of current sheet to be saved. Starts to save data of one row. It will be called at the beginning of saving a row and its cells data. If current row has some custom properties such as height, style, ...etc., implementation should set those properties to given Row object here. Row object for implementation to fill data. Its row index is the returned value of latest call of . If the row has been initialized in the inner cells model, the existing row object will be used. Otherwise a temporary Row object will be used for implementation to fill data. Gets next cell to be saved. It will be called at the beginning of saving one cell. column index of the next cell to be saved. -1 means the end of current row data has been reached and no further cell of current row to be saved. Starts to save data of one cell. Cell object for implementation to fill data. Its column index is the returned value of latest call of . If the cell has been initialized in the inner cells model, the existed cell object will be used. Otherwise a temporary Cell object will be used for implementation to fill data. Checks whether the current string value of cell needs to be gathered into a global pool. Gathering string values will take advantage only when there are many duplicated string values for the cells provided by this implementation. In this situation gathering string will save much memory and generate smaller resultant file. If there are many string values for the cells provided by LightCellsDataProvider but few of them are same, gathering string will cost more memory and time and has no advantage for the resultant file. true if string value need to be gathered into a global pool for the resultant file. Represents the load file format. Represents recognizing the format automatically. Represents a CSV file. Represents Office Open XML spreadsheetML workbook or template, with or without macros. Represents a tab delimited text file. Represents a html file. Represents a mhtml file. Represents a ods file. Represents an Excel97-2003 xls file. Represents an Excel 2003 xml file. Represents an xlsb file. Represents unrecognized format, cannot be loaded. Represents the options of loading the file. Gets and set the load format. Creates an options of loading the file. Creates an options of loading the file. The loading format. Gets and set the password of the workbook. Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula. If true, only loads data , formulas and formatting from the file, other contents and settings are all discarded. For example : shapes ,validation,conditional formatting,pivotables are not loaded. NOTE: This member is now obsolete. Instead, please use LoadFilter property(LoadFilter = new LoadFilter(LoadDataFilterOptions.CellData). This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced. Sets the default print paper size from default printer's setting. The default paper size. If there is no setting about paper size,MS Excel will use default printer's setting. If true, only loads data and formulas from the file, other contents and settings are all discarded. NOTE: This member is now obsolete. Instead, please use LoadFilter property(LoadFilter = new LoadFilter(LoadDataFilterOptions.CellData). This property will be removed 12 months later since June 2016. Aspose apologizes for any inconvenience you may have experienced. If true, only loads document properties Only for excel 97- 2003 xls file. If the file is encrypted, we still can get the document properties without password NOTE: This member is now obsolete. Instead, please use LoadFilter property(LoadFilter = new LoadFilter(LoadDataFilterOptions.DocumentProperties). This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced. Only effects when OnlyLoadData is true. NOTE: This member is now obsolete. Instead, please use LoadFilter property(User may extend LoadFilter to filter the worksheet and data). This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced. Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. Gets or sets the system regional settings based on CountryCode at the time the file was loaded. If you do not want to use the region saved in the file, please reset it after reading the file. Gets or sets the system culture info at the time the file was loaded. Gets or sets a value that indicates whether the string in text file is converted to numeric data. NOTE: This member is now obsolete. Instead, please use HTMLLoadOptions.ConvertNumericData or HTMLLoadOptions.ConvertDateTimeData property. This property will be removed 12 months later since April 2016. Aspose apologizes for any inconvenience you may have experienced. Sets the default standard font name Sets the default standard font size. Gets and sets the interrupt monitor. Ignore the data which are not printed if directly printing the file Only for xlsx file. Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. The filter to denote how to load data. The filter options to denote what data should be loaded. NOTE: This member is now obsolete. Instead, please use LoadFilter property(LoadFilter = new LoadFilter(LoadDataFilterOptions). This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced. The data handler for processing cells data when reading template file. Gets or sets the memory usage options. Gets or sets warning callback. Represents the options for loading text file. Gets or sets a value that indicates whether the string in text file is converted to numeric data. Creates the options for loading text file. The default load file type is CSV . Creates the options for loading text file. The loading format Gets and sets char Delimiter of text file. Gets and sets the a string value as separator. Gets and sets the default encoding.Only applies for csv file. True means that the file contains several encoding. Gets and sets preferred value parsers for loading text file. parsers[0] is the parser will be used for the first column in text template file, parsers[1] is the parser will be used for the second column, ...etc. The last one(parsers[parsers.length-1]) will be used for all other columns start from parsers.length-1. If one item is null, the corresponding column will be parsed by the default parser of Aspose.Cells. Gets or sets a value that indicates whether the string in text file is converted to date data. Indicates the strategy to apply style for parsed values when converting string value to number or datetime. Indicates whether the text is formula if it starts with "=". Indicates whether the exact formatting should be kept for the cell when converting string value to number or datetime. When ms excel loading datetime or numeric values from csv file, the formatting of those values may be changed, such as leading/tailing zeros of number, year/month/day order of datetime, ...etc. To simulate ms excel's behavior, please set this property to false. Default value of this property is true, so the cell value will be formatted as the same string value in csv template file. NOTE: This member is now obsolete. Instead, please set LoadStyleStrategy property to TxtLoadStyleStrategy.BuiltIn to get same result with this property's false value and TxtLoadStyleStrategy.ExactFormat to get same result with this property's true value. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced. Represents the options of saving dif file. Creates the options for saving DIF file. Describes a collection of CFValueObject. Use only for icon sets. Get the CFValueObject element at the specified index. The zero based index of the element. The element at the specified index. Adds object. The value type. The value. Returns the index of new object in the list. Condition value type. The minimum/ midpoint / maximum value for the gradient is determined by a formula. Indicates that the maximum value in the range shall be used as the maximum value for the gradient. Indicates that the minimum value in the range shall be used as the minimum value for the gradient. Indicates that the minimum / midpoint / maximum value for the gradient is specified by a constant numeric value. Value indicates a percentage between the minimum and maximum values in the range shall be used as the minimum / midpoint / maximum value for the gradient. Value indicates a percentile ranking in the range shall be used as the minimum / midpoint / maximum value for the gradient. Indicates that the Automatic maximum value in the range shall be used as the Automatic maximum value for the gradient. Indicates that the Automatic minimum value in the range shall be used as the Automatic minimum value for the gradient. Icon set type for conditional formatting. The threshold values for triggering the different icons within a set are configurable, and the icon order is reversible. 3 arrows icon set. 3 gray arrows icon set. 3 flags icon set. 3 signs icon set. 3 symbols icon set (circled). 3 Symbols icon set (uncircled). 3 traffic lights icon set (unrimmed). 3 traffic lights icon set with thick black border. 4 arrows icon set. 4 gray arrows icon set. 4 ratings icon set. 4 'red to black' icon set. 4 traffic lights icon set. 5 arrows icon set. 5 gray arrows icon set. 5 quarters icon set. 5 rating icon set. 3 stars set 5 boxes set 3 triangles set None CustomSet ,This element is read-only. Used in a FormatConditionType.TimePeriod conditional formatting rule. These are dynamic time periods, which change based on the date the conditional formatting is refreshed / applied. Today's date. Yesterday's date. Tomorrow's date. A date in the last seven days. A date occuring in this calendar month. A date occuring in the last calendar month. A date occuring in the next calendar month. A date occuring this week. A date occuring last week. A date occuring next week. Describe the Top10 conditional formatting rule. This conditional formatting rule highlights cells whose values fall in the top N or bottom N bracket, as specified. Get or set the flag indicating whether a "top/bottom n" rule is a "top/bottom n percent" rule. Default value is false. Get or set the flag indicating whether a "top/bottom n" rule is a "bottom n" rule. '1' indicates 'bottom'. Default value is false. Get or set the value of "n" in a "top/bottom n" conditional formatting rule. If IsPercent is true, the value must between 0 and 100. Otherwise it must between 0 and 1000. Default value is 10. The content disposition type. Represents the command type of header and footer. The text. Current page number Page count Current date Current time Sheet name File name without path File path without file name Picture Provides utility methods for converting file format enums to strings or file extensions and back. Detects and returns the information about a format of an excel stored in a stream. A object that contains the detected information. Detects and returns the information about a format of an excel stored in a file. The file path. A object that contains the detected information. Converts a file name extension into a SaveFormat value. The file extension. Can be with or without a leading dot. Case-insensitive. If the extension cannot be recognized, returns . Returns true if the extension is .xlt, .xltX, .xltm,.ots. Converts a load format enumerated value into a file extension. The loaded file format. The returned extension is a lower-case string with a leading dot. If it can not be converted, returns null. Converts a LoadFormat value to a SaveFormat value if possible. The load format. The save format. Converts a save format enumerated value into a file extension. The save format. The returned extension is a lower-case string with a leading dot. Converts a SaveFormat value to a LoadFormat value if possible. The save format. The load format Represents the paste special type. Copies all data of the ranage. It works as "All" behavior of MS Excel. Copies all data of the ranage withoutd the range. It works as "All except borders" behavior of MS Excel. Only copies the widths of the range. Only copies the heights of the range. Describe the ColorScale conditional formatting rule. This conditional formatting rule creates a gradated color scale on the cells. Indicates whether conditional formatting is 3 color scale. Get or set this ColorScale's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it. Get or set this ColorScale's mid value object. Cannot set CFValueObject with type FormatConditionValueType.Max or FormatConditionValueType.Min to it. Get or set this ColorScale's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it. Get or set the min value object's corresponding color. Get or set the mid value object's corresponding color. Get or set the max value object's corresponding color. Describes the values of the interpolation points in a gradient scale, dataBar or iconSet. Get or set the value of this conditional formatting value object. It should be used in conjunction with Type. If the value is string and start with "=", it will be processed as a formula, otherwise we will process it as a simple value. Get or set the type of this conditional formatting value object. Setting the type to FormatConditionValueType.Min or FormatConditionValueType.Max will auto set "Value" to null. Get or set the Greater Than Or Equal flag. Use only for icon sets, determines whether this threshold value uses the greater than or equal to operator. 'false' indicates 'greater than' is used instead of 'greater than or equal to'. Default value is true. Describe the DataBar conditional formatting rule. This conditional formatting rule displays a gradated data bar in the range of cells. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Adds an empty conditional formatting int index = sheet.ConditionalFormattings.Add(); FormatConditions fcs = sheet.ConditionalFormattings[index]; //Sets the conditional format range. CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 2; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); //Adds condition. int idx = fcs.AddCondtion(FormatConditionType.DataBar); fcs.AddArea(ca); FormatCondition cond = fcs[idx]; //Get Databar DataBar dataBar = cond.DataBar; dataBar.Color = Color.Orange; //Set Databar properties dataBar.MinCfvo.Type = FormatConditionValueType.Percentile; dataBar.MinCfvo.Value = 30; dataBar.ShowValue = false; dataBar.BarBorder.Type = DataBarBorderType.DataBarBorderSolid; dataBar.BarBorder.Color = Color.Plum; dataBar.BarFillType = DataBarFillType.DataBarFillSolid; dataBar.AxisColor = Color.Red; dataBar.AxisPosition = DataBarAxisPosition.DataBarAxisMidpoint; dataBar.NegativeBarFormat.ColorType = DataBarNegativeColorType.DataBarColor; dataBar.NegativeBarFormat.Color = Color.White; dataBar.NegativeBarFormat.BorderColorType = DataBarNegativeColorType.DataBarColor; dataBar.NegativeBarFormat.BorderColor = Color.Yellow; //Put Cell Values Aspose.Cells.Cell cell1 = sheet.Cells["A1"]; cell1.PutValue(10); Aspose.Cells.Cell cell2 = sheet.Cells["A2"]; cell2.PutValue(120); Aspose.Cells.Cell cell3 = sheet.Cells["A3"]; cell3.PutValue(260); //Saving the Excel file workbook.Save("D:\\book1.xlsx"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) 'Adds an empty conditional formatting Dim index As Integer = sheet.ConditionalFormattings.Add() Dim fcs As FormatConditions = sheet.ConditionalFormattings(index) 'Sets the conditional format range. Dim ca As New CellArea() ca.StartRow = 0 ca.EndRow = 2 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) 'Adds condition. Dim idx As Integer = fcs.AddCondtion(FormatConditionType.DataBar) fcs.AddArea(ca) Dim cond As FormatCondition = fcs(idx) 'Get Databar Dim dataBar As DataBar = cond.DataBar dataBar.Color = Color.Orange 'Set Databar properties dataBar.MinCfvo.Type = FormatConditionValueType.Percentile dataBar.MinCfvo.Value = 30 dataBar.ShowValue = False dataBar.BarBorder.Type = DataBarBorderType.DataBarBorderSolid dataBar.BarBorder.Color = Color.Plum dataBar.BarFillType = DataBarFillType.DataBarFillSolid dataBar.AxisColor = Color.Red dataBar.AxisPosition = DataBarAxisPosition.DataBarAxisMidpoint dataBar.NegativeBarFormat.ColorType = DataBarNegativeColorType.DataBarColor dataBar.NegativeBarFormat.Color = Color.White dataBar.NegativeBarFormat.BorderColorType = DataBarNegativeColorType.DataBarColor dataBar.NegativeBarFormat.BorderColor = Color.Yellow 'Put Cell Values Dim cell1 As Aspose.Cells.Cell = sheet.Cells("A1") cell1.PutValue(10) Dim cell2 As Aspose.Cells.Cell = sheet.Cells("A2") cell2.PutValue(120) Dim cell3 As Aspose.Cells.Cell = sheet.Cells("A3") cell3.PutValue(260) 'Saving the Excel file workbook.Save("D:\book1.xlsx") Gets the color of the axis for cells with conditional formatting as data bars. Gets or sets the position of the axis of the data bars specified by a conditional formatting rule. Gets or sets how a data bar is filled with color. Gets or sets the direction the databar is displayed. Gets an object that specifies the border of a data bar. Gets the NegativeBarFormat object associated with a data bar conditional formatting rule. Get or set this DataBar's min value object. Cannot set null or CFValueObject with type FormatConditionValueType.Max to it. Get or set this DataBar's max value object. Cannot set null or CFValueObject with type FormatConditionValueType.Min to it. Get or set this DataBar's Color. Represents the min length of data bar . Represents the max length of data bar . Get or set the flag indicating whether to show the values of the cells on which this data bar is applied. Default value is true. Describe the IconSet conditional formatting rule. This conditional formatting rule applies icons to cells according to their values. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Adds an empty conditional formatting int index = sheet.ConditionalFormattings.Add(); FormatConditions fcs = sheet.ConditionalFormattings[index]; //Sets the conditional format range. CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 2; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); //Adds condition. int idx = fcs.AddCondtion(FormatConditionType.IconSet); fcs.AddArea(ca); FormatCondition cond = fcs[idx]; //Get Icon Set IconSet iconSet = cond.IconSet; //Set Icon Type iconSet.Type = IconSetType.Arrows3; //Put Cell Values Aspose.Cells.Cell cell1 = sheet.Cells["A1"]; cell1.PutValue(10); Aspose.Cells.Cell cell2 = sheet.Cells["A2"]; cell2.PutValue(120); Aspose.Cells.Cell cell3 = sheet.Cells["A3"]; cell3.PutValue(260); //Saving the Excel file workbook.Save("D:\\book1.xlsx"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) 'Adds an empty conditional formatting Dim index As Integer = sheet.ConditionalFormattings.Add() Dim fcs As FormatConditions = sheet.ConditionalFormattings(index) 'Sets the conditional format range. Dim ca As New CellArea() ca.StartRow = 0 ca.EndRow = 2 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) 'Adds condition. Dim idx As Integer = fcs.AddCondtion(FormatConditionType.IconSet) fcs.AddArea(ca) Dim cond As FormatCondition = fcs(idx) 'Get Icon Set Dim iconSet As IconSet = cond.IconSet 'Set Icon Type iconSet.Type = IconSetType.Arrows3 'Put Cell Values Dim cell1 As Aspose.Cells.Cell = sheet.Cells("A1") cell1.PutValue(10) Dim cell2 As Aspose.Cells.Cell = sheet.Cells("A2") cell2.PutValue(120) Dim cell3 As Aspose.Cells.Cell = sheet.Cells("A3") cell3.PutValue(260) 'Saving the Excel file workbook.Save("D:\book1.xlsx") Get the from the collection Get the CFValueObjects instance. Get or Set the icon set type to display. Setting the type will auto check if the current Cfvos's count is accord with the new type. If not accord, old Cfvos will be cleaned and default Cfvos will be added. Indicates whether the icon set is custom. Default value is false. Get or set the flag indicating whether to show the values of the cells on which this icon set is applied. Default value is true. Get or set the flag indicating whether to reverses the default order of the icons in this icon set. Default value is false. A specified range to be allowed to edit when the sheet protection is ON. Gets the Range title. This is used as a descriptor, not as a named range definition. Gets the object represents the cell area to be protected. Gets all referred areas. Returns all referred areas. Adds a referred area to this The start row. The start column. The end row. The end column. Represents the password to protect the range. The security descriptor defines user accounts who may edit this range without providing a password to access the range. Encapsulates a collection of objects. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Adds a item to the collection. Range title. This is used as a descriptor, not as a named range definition. Start row index of the range. Start column index of the range. End row index of the range. End column index of the range. object index. Represents the color filter. Flag indicating whether or not to filter by the cell's fill color. Represents the custom filter. Gets and sets the filter operator type. Gets and sets the criteria. Represents the custom filters. Indicates whether the two criteria have an "and" relationship. Gets the custom filter in the specific index. The index. Represents the datetime's group setting. Gets the min value. Gets and sets the group type. Gets and sets the year of the grouped date time. Gets and sets the month of the grouped date time. Gets and sets the day of the grouped date time. Gets and sets the hour of the grouped date time. Gets and sets the minute of the grouped date time. Gets and sets the second of the grouped date time. Specifies how to group dateTime values. Group by day. Group by hour. Group by Minute. Group by Month. Group by Second. Group by Year. Represents the dynamic filter. Gets and sets the dynamic filter type. Gets and sets the dynamic filter value. Gets and sets the dynamic filter max value. Dynamic filter type. Shows values that are above average. Shows values that are below average. Shows last month's dates. Shows last quarter's dates. Shows last week's dates. Shows last year's dates. Shows the dates that are in January, regardless of year. Shows the dates that are in October, regardless of year. Shows the dates that are in November, regardless of year. Shows the dates that are in December, regardless of year. Shows the dates that are in Februray, regardless of year. Shows the dates that are in March, regardless of year. Shows the dates that are in April, regardless of year. Shows the dates that are in May, regardless of year. Shows the dates that are in June, regardless of year. Shows the dates that are in July, regardless of year. Shows the dates that are in August, regardless of year. Shows the dates that are in September, regardless of year. Shows next month's dates. Shows next quarter's dates. Shows next week's dates. Shows next year's dates. Shows the dates that are in the 1st quarter, regardless of year. Shows the dates that are in the 2nd quarter, regardless of year. Shows the dates that are in the 3rd quarter, regardless of year. Shows the dates that are in the 4th quarter, regardless of year. Shows this month's dates. Shows this quarter's dates. Shows this week's dates. Shows this year's dates. Shows today's dates. Shows tomorrow's dates. Shows the dates between the beginning of the year and today, inclusive. Shows yesterday's dates. Represents the multiple filte collection. Indicates whether to filter by blank. DateTimeGroupItem or a simple object. The filter type. When multiple values are chosen to filter by, or when a group of date values are chosen to filter by, this element groups those criteria together. Represents icon filter. Represents the top 10 filter. Indicates whether it's top filter. Indicates whether the items is percent. Gets and sets the items of the filter. Represents the directory type of the file name. Represents an MS-DOS drive letter. It is followed by the drive letter. Or UNC file names, such as \\server\share\myfile.xls Indicates that the source workbook is on the same drive as the dependent workbook (the drive letter is omitted) Indicates that the source workbook is in a subdirectory of the current directory. Indicates that the source workbook is in the parent directory of the current directory. Represents all export table options. Gets and sets the DataTable which columns's data type is assigned. n/a for java Indicates whether the data in the first row are exported to the column name of the DataTable. The default value is false. Indicates whether skip invalid value for the column. For example,if the column type is decimal ,the value is greater than decimal.MaxValue and this property is true,we will not throw exception again. The default value is false. Only exports visible cells. Only exports visible rows. Only exports visible columns. Exported the string value of the cells to the DataTable. Gets and sets the format strategy when exporting the value as string value. False, Aspose.Cells will set the DataColumn's type by the value type of the first row for performance. True, Aspose.Cells will check whether the value type in the column are mixed before set the DataColumn's type And the value type are mixed, the DataColumn's type will be string. True if a row in Workbook file represents a row in DataTable. False if a column in Workbook file represents a row in DataTable. The indexes of columns/rows which shoudl be exported out. Renames strategy when columns contains the duplicate names. Represents the paste special options. The paste special type. Indicates whether skips blank cells. True means only copying visible cells. True to transpose rows and columns when the range is pasted. The default value is False. Represents all referred cells and areas. Represents the format in which the workbook is saved. Represents a CSV file. Represents an xlsx file. Represents an xlsm file which enable macros. Represents an xltx file. Represents an xltm file which enable macros. Represents an xltm file which enable addin macros. Represents a tab delimited text file. Represents a html file. Represents a mhtml file. Represents a ods file. Represents an Excel97-2003 xls file. Represents an Excel 2003 xml file. Represents an xlsb file. If saving the file to the disk,the file format accords to the extension of the file name. If saving the file to the stream, the file format is xlsx. Represents unrecognized format, cannot be saved. Represents a Pdf file. Represents an XPS file. Represents an TIFF file. Represents an SVG file. Data Interchange Format. Represents the options for saving Excel 2003 spreadml file. Creates the options for saving Excel 2003 spreadml file. Creates the options for saving Excel 2003 spreadml file. The save format. Causes child elements to be indented. The default value is true. If the value is false, it will reduce the size of the xml file Limit as xls, the max row index is 65535 and the max column index is 255. The default value is false, it means that column index will be ignored if the cell is contiguous to the previous cell. Represents all builin style type Represents all types of color. Gets and set the color which should apply to cell or shape. The expression of the color of the cell and the shape is different. For example: the theme color with same tint value will be not same in the cell and the shape. The color type. Gets the theme color. Only applies for theme color type. Gets and sets the color index in the color palette. Only applies of indexed color. Gets and sets the RGB color. Gets and sets the color from a 32-bit ARGB value. Gets and sets transparency as a value from 0.0 (opaque) through 1.0 (clear). Set the tint of the shape color Represents all color type Automatic color. It's automatic color,but the displayed color depends the setting of the OS System. Not supported. The RGB color. The color index in the color palette. The theme color. Represents the master differential formatting records. Gets the element at the specified index. The specified index. Represents look at type. Cell value Contains the find object. Cell value Starts with the find object. Cell value ends with the find object. Cell value is same as the find object. Represents look in type. If the cell contains a formula, find it from formula. Else find object from the formula. Only find object from the formatted values. Only find object from the values of cells which do not contains formula. Only find object from the comments. Only find object from formulas. Only find object from the original values. Represent the replace options. Indicates if the searched string is case sensitive. NOTE: This member is now obsolete. Instead, please use ReplaceOptions.CaseSensitive property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Indicates if the searched string is case sensitive. Indicates whether to match entire cells contents Represents a referred area by the formula. Indicates whether this is an external link. Get the external file name if this is an external reference. Indicates which sheet this reference is in. Indicates whether this is an area. If this is not an area, only StartRow and StartColumn effect. The end column of the area. The start column of the area. The end row of the area. The start row of the area. Gets cell values in this area. If this area is invalid, "#REF!" will be returned; If this area is one single cell, then return the cell value object; Otherwise return one 2D array for all values in this area. Gets cell value with given offset from the top-left of this area. row offset from the start row of this area column offset from the start row of this area "#REF!" if this area is invalid; "#N/A" if given offset out of this area; Otherwise return the cell value at given position. Represents find options. [C#] //Instantiate the workbook object Workbook workbook = new Workbook("C:\\book1.xls"); //Get Cells collection Cells cells = workbook.Worksheets[0].Cells; //Instantiate FindOptions Object FindOptions findOptions = new FindOptions(); //Create a Cells Area CellArea ca = new CellArea(); ca.StartRow = 8; ca.StartColumn = 2; ca.EndRow = 17; ca.EndColumn = 13; //Set cells area for find options findOptions.SetRange(ca); //Set searching properties findOptions.SearchNext = true; findOptions.SeachOrderByRows = true; findOptions.LookInType = LookInType.Values; //Find the cell with 0 value Cell cell = cells.Find(0, null, findOptions); [VB.NET] 'Instantiate the workbook object Dim workbook As New Workbook("C:\book1.xls") 'Get Cells collection Dim cells As Cells = workbook.Worksheets(0).Cells 'Instantiate FindOptions Object Dim findOptions As New FindOptions() 'Create a Cells Area Dim ca As New CellArea() ca.StartRow = 8 ca.StartColumn = 2 ca.EndRow = 17 ca.EndColumn = 13 'Set cells area for find options findOptions.SetRange(ca) 'Set searching properties findOptions.SearchNext = True findOptions.SeachOrderByRows = True findOptions.LookInType = LookInType.Values 'Find the cell with 0 value Dim cell As Cell = cells.Find(0, Nothing, findOptions) Indicates if the searched string is case sensitive. NOTE: This member is now obsolete. Instead, please use FindOptions.CaseSensitive property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Indicates if the searched string is case sensitive. Look at type. Gets and sets the searched range. Returns the seached range. Sets the searched range. the searched range. Indicates whether the searched range is set. Search order. True: search next. False: search previous. Indicates whether search order by rows or columns. Look in type. Indicates whether the searched key is regex. If true then the searched key will be taken as regex. The format to search for. Gets or sets a value that indicates whether converting the searched string value to numeric data. Represents autofiltering for the specified worksheet. [C#] //Creating a file stream containing the Excel file to be opened FileStream fstream = new FileStream("C:\\book1.xls", FileMode.Open); //Instantiating a Workbook object and open a stream. Workbook workbook = new Workbook(fstream); //Accessing the first worksheet in the Excel file Worksheet worksheet = workbook.Worksheets[0]; //Creating AutoFilter by giving the cells range of the heading row worksheet.AutoFilter.Range = "A1:B1"; //Filtering columns with specified values worksheet.AutoFilter.Filter(1, "Bananas"); //Saving the modified Excel file. workbook.Save("C:\\output.xls"); //Closing the file stream to free all resources fstream.Close(); [Visual Basic] 'Creating a file stream containing the Excel file to be opened Dim fstream As FileStream = New FileStream("C:\\book1.xls", FileMode.Open) 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook(fstream) 'Accessing the first worksheet in the Excel file Dim worksheet As Worksheet = workbook.Worksheets(0) 'Creating AutoFilter by giving the cells range of the heading row worksheet.AutoFilter.Range = "A1:B1" 'Filtering columns with specified values Worksheet.AutoFilter.Filter(1, "Bananas") 'Saving the modified Excel file workbook.Save("C:\\output.xls") 'Closing the file stream to free all resources fstream.Close() Gets the data sorter. Sets the range to which the specified AutoFilter applies. Row index. Start column index. End column Index. Represents the range to which the specified AutoFilter applies. Adds a filter for a filter column. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The specified criteria (a string; for example, "101"). It only can be null or be one of the cells' value in this column. MS Excel 2007 supports multiple selection in a filter column. Adds a date filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The year. The month. The day. The hour. The minute. The second. If DateTimeGroupingType is Year, only the param year effects. If DateTiemGroupingType is Month, only the param year and month effect. Removes a date filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The year. The month. The day. The hour. The minute. The second. If DateTimeGroupingType is Year, only the param year effects. If DateTiemGroupingType is Month, only the param year and month effect. Removes a filter for a filter column. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The specified criteria (a string; for example, "101"). It only can be null or be one of the cells' value in this column. Filters a list with specified criteria. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The specified criteria (a string; for example, "101"). Aspose.Cells will remove all other filter setting on this field as Ms Excel 97-2003. Filter the top 10 item in the list The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). Indicates whether filter from top or bottom Indicates whether the items is percent or count The item count Adds a dynamic filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). Dynamic filter type. Adds a font color filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The object. Adds a fill color filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The background pattern type. The foreground color. The background color. Adds an icon filter. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The icon set type. The icon id. Only supports to add the icon filter. Not supports checking which row is visible if the filter is icon filter. Match all blank cell in the list. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). Match all not blank cell in the list. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). Filters a list with a custom criteria. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The filter operator type The custom criteria Filters a list with custom criteria. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). The filter operator type The custom criteria The filter operator type The custom criteria Unhide all rows. Remove the specific filter. The specific filter index Refresh auto filters to hide or unhide the rows. Gets the collection of the filter columns. Enumerates cell background pattern types. Represents diagonal crosshatch pattern. Represents diagonal stripe pattern. Represents 6.25% gray pattern Represents 12.5% gray pattern Represents 25% gray pattern. Represents 50% gray pattern. Represents 75% gray pattern. Represents horizontal stripe pattern. Represents no background. Represents reverse diagonal stripe pattern. Represents solid pattern. Represents thick diagonal crosshatch pattern. Represents thin diagonal crosshatch pattern. Represents thin diagonal stripe pattern. Represents thin horizontal crosshatch pattern. Represents thin horizontal stripe pattern. Represents thin reverse diagonal stripe pattern. Represents thin vertical stripe pattern. Represents vertical stripe pattern. Encapsulates the object that represents the cell border. [C#] int styleIndex = workbook.Styles.Add(); Style style = workbook.Styles[styleIndex]; //Set top border style and color Border border = style.Borders[BorderType.TopBorder]; border.LineStyle = CellBorderType.Medium; border.Color = Color.Red; cell.SetStyle(style); [Visual Basic] Dim styleIndex as Integer = workbook.Styles.Add() Dim style as Style = workbook.Styles[styleIndex] 'Set top border style and color Dim border as Border = style.Borders(BorderType.TopBorder) border.LineStyle = CellBorderType.Medium border.Color = Color.Red cell.SetStyle(style); Gets and sets the theme color of the border. Gets or sets the of the border. Gets and sets the color with a 32-bit ARGB value. Gets or sets the cell border type. Encapsulates a collection of objects. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Adding a new worksheet to the Excel object workbook.Worksheets.Add(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Accessing the "A1" cell from the worksheet Cell cell = worksheet.Cells["A1"]; //Adding some value to the "A1" cell cell.PutValue("Visit Aspose!"); Style style = cell.GetStyle(); //Setting the line style of the top border style.Borders[BorderType.TopBorder].LineStyle = CellBorderType.Thick; //Setting the color of the top border style.Borders[BorderType.TopBorder].Color = Color.Black; //Setting the line style of the bottom border style.Borders[BorderType.BottomBorder].LineStyle = CellBorderType.Thick; //Setting the color of the bottom border style.Borders[BorderType.BottomBorder].Color = Color.Black; //Setting the line style of the left border style.Borders[BorderType.LeftBorder].LineStyle = CellBorderType.Thick; //Setting the color of the left border style.Borders[BorderType.LeftBorder].Color = Color.Black; //Setting the line style of the right border style.Borders[BorderType.RightBorder].LineStyle = CellBorderType.Thick; //Setting the color of the right border style.Borders[BorderType.RightBorder].Color = Color.Black; cell.SetStyle(style); //Saving the Excel file workbook.Save("C:\\book1.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() 'Adding a new worksheet to the Workbook object workbook.Worksheets.Add() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Accessing the "A1" cell from the worksheet Dim cell As Cell = worksheet.Cells("A1") 'Adding some value to the "A1" cell cell.PutValue("Visit Aspose!") Dim style as Style = cell.GetStyle() 'Setting the line style of the top border style.Borders(BorderType.TopBorder).LineStyle = CellBorderType.Thick 'Setting the color of the top border style.Borders(BorderType.TopBorder).Color = Color.Black 'Setting the line style of the bottom border style.Borders(BorderType.BottomBorder).LineStyle = CellBorderType.Thick 'Setting the color of the bottom border style.Borders(BorderType.BottomBorder).Color = Color.Black 'Setting the line style of the left border style.Borders(BorderType.LeftBorder).LineStyle = CellBorderType.Thick 'Setting the color of the left border style.Borders(BorderType.LeftBorder).Color = Color.Black 'Setting the line style of the right border style.Borders(BorderType.RightBorder).LineStyle = CellBorderType.Thick 'Setting the color of the right border style.Borders(BorderType.RightBorder).Color = Color.Black cell.SetStyle(style) 'Saving the Excel file workbook.Save("C:\book1.xls") Gets the element at the specified index. The border to be retrieved. The element at the specified index. Sets the of all borders in the collection. Borders' . Sets the style of all borders of the collection. Borders' style Gets or sets the of Diagonal lines. Gets or sets the style of Diagonal lines. Enumerates the border line and diagonal line types. Represents bottom border line. Represents the diagonal line from top left to right bottom. Represents the diagonal line from bottom left to right top. Represents left border line. Represents right border line exists. Represents top border line. Only for dynamic style,such as conditional formatting. Only for dynamic style,such as conditional formatting. Represents the mode type of calculating formulas. Encapsulates the object that represents a single Workbook cell. [C#] Workbook excel = new Workbook(); Cells cells = excel.Worksheets[0].Cells; //Put a string into a cell Cell cell = cells[0, 0]; cell.PutValue("Hello"); string first = cell.StringValue; //Put an integer into a cell cell = cells["B1"]; cell.PutValue(12); int second = cell.IntValue; //Put a double into a cell cell = cells[0, 2]; cell.PutValue(-1.234); double third = cell.DoubleValue; //Put a formula into a cell cell = cells["D1"]; cell.Formula = "=B1 + C1"; //Put a combined formula: "sum(average(b1,c1), b1)" to cell at b2 cell = cells["b2"]; cell.Formula = "=sum(average(b1,c1), b1)"; //Set style of a cell Style style = cell.GetStyle(); //Set background color style.BackgroundColor = Color.Yellow; //Set format of a cell style.Font.Name = "Courier New"; style.VerticalAlignment = TextAlignmentType.Top; cell.SetStyle(style); [Visual Basic] Dim excel as Workbook = new Workbook() Dim cells as Cells = exce.Worksheets(0).Cells 'Put a string into a cell Dim cell as Cell = cells(0, 0) cell.PutValue("Hello") Dim first as String = cell.StringValue //Put an integer into a cell cell = cells("B1") cell.PutValue(12) Dim second as Integer = cell.IntValue //Put a double into a cell cell = cells(0, 2) cell.PutValue(-1.234) Dim third as Double = cell.DoubleValue //Put a formula into a cell cell = cells("D1") cell.Formula = "=B1 + C1" //Put a combined formula: "sum(average(b1,c1), b1)" to cell at b2 cell = cells("b2") cell.Formula = "=sum(average(b1,c1), b1)" //Set style of a cell Dim style as Style = cell.GetStyle() //Set background color style.BackgroundColor = Color.Yellow //Set font of a cell style.Font.Name = "Courier New" style.VerticalAlignment = TextAlignmentType.Top cell.SetStyle(style) Calcaulate the formula of the cell. Options for calculation Calcaulate the formula of the cell. Indicates if hide the error in calculating formulas. The error may be unsupported function, external links, etc. The custom formula calculation functions to extend the calculation engine. Gets the parent worksheet. Puts an boolean value into the cell. Puts an integer value into the cell. Input value Puts a double value into the cell. Input value Puts a value into the cell, if appropriate the value will be converted to other data type and cell's number format will be reset. Input value True: converted to other data type if appropriate. True: set the number format to cell's style when converting to other data type Puts a string value into the cell and converts the value to other data type if appropriate. Input value True: converted to other data type if appropriate. Puts a string value into the cell. Input value Puts a DateTime value into the cell. Input value Gets the DateTime value contained in the cell. Puts an object value into the cell. input value Gets row number (zero based) of the cell. Cell row number Gets column number (zero based) of the cell. Represents if the specified cell contains formula. Represents cell value type. Gets the name of the cell. A cell name includes its column letter and row number. For example, the name of a cell in row 0 and column 0 is A1. Checks if a formula can properly evaluate a result. Only applies to formula cell. Gets the string value by specific formatted strategy. The formatted strategy. Gets the string value contained in the cell. If the type of this cell is string, then return the string value itself. For other cell types, the formatted string value (formatted with the specified style of this cell) will be returned. The formatted cell value is same with what you can get from excel when copying a cell as text (such as copying cell to text editor or exporting to csv). Gets cell's value as string without any format. Represents the category type of this cell's number formatting. Gets the formatted string value of this cell. Gets the integer value contained in the cell. Gets the double value contained in the cell. Gets the float value contained in the cell. Gets the boolean value contained in the cell. Gets the display style of the cell. If the cell is conditional formatted, the display style is not same as the cell.GetStyle(). Gets format conditions which applies to this cell. Returns object Gets the cell style. Style object. To change the style of the cell, please call Cell.SetStyle() method after changing the style. If parameter is true, check whether other cells' borders will effecting the style of this cell. Check other cells' borders Sets the cell style. The cell style. If the border settings are changed, the border of adjact cells will be updated too. Apply the cell style. The cell style. True, only overwriting formatting which is explicitly set. Apply the cell style. The cell style. The style flag. Gets cell's shared style index in the style pool. Gets or sets a formula of the . A formula string always begins with an equal sign (=). And please always use comma (,) as parameters delimeter, such as "=SUM(A1, E1, H2)".

User can set any formula in Workbook designer file. Aspose.Cells will keep all the formulas. If user use this property to set a formula to a cell, major part of Workbook built-in functions is supported. And more is coming. If you have any special need for Workbook built-in functions, please let us know.
[C#] Workbook excel = new Workbook(); Cells cells = excel.Worksheets[0]; cells["B6"].Formula = "=SUM(B2:B5, E1) + sheet2!A1"; [Visual Basic] Dim excel As Workbook = New Workbook() Dim cells As Cells = excel.Worksheets(0) cells("B6").Formula = "=SUM(B2:B5, E1) + sheet2!A1"
Set the formula and the value of the formula. The formula. The value of the formula. Gets or sets a R1C1 formula of the . Indicates wether this cell contains an external link. Only applies when the cell is a formula cell. Gets all cells or ranges which this cell's formula depends on. Returns all cells or ranges. Returns null if this is not a formula cell. [C#] Workbook workbook = new Workbook(); Cells cells = workbook.Worksheets[0].Cells; cells["A1"].Formula = "= B1 + SUM(B1:B10) + [Book1.xls]Sheet1!A1"; ReferredAreas areas = cells["A1"].GetPrecedents(); for (int i = 0; i < areas.Count; i++) { ReferredArea area = areas[i]; StringBuilder stringBuilder = new StringBuilder(); if (area.IsExternalLink) { stringBuilder.Append("["); stringBuilder.Append(area.ExternalFileName); stringBuilder.Append("]"); } stringBuilder.Append(area.SheetName); stringBuilder.Append("!"); stringBuilder.Append(CellsHelper.CellIndexToName(area.StartRow, area.StartColumn)); if (area.IsArea) { stringBuilder.Append(":"); stringBuilder.Append(CellsHelper.CellIndexToName(area.EndRow, area.EndColumn)); } Console.WriteLine(stringBuilder.ToString()); } workbook.Save(@"C:\Book2.xls"); [Visual Basic] Dim workbook As Workbook = New Workbook() Dim cells As Cells = workbook.Worksheets(0).Cells cells("A1").Formula = "= B1 + SUM(B1:B10) + [Book1.xls]Sheet1!A1" Dim areas As ReferredAreas = cells("A1").GetPrecedents() For i As Integer = 0 To areas.Count - 1 Dim area As ReferredArea = areas(i) Dim stringBuilder As StringBuilder = New StringBuilder() If (area.IsExternalLink) Then stringBuilder.Append("[") stringBuilder.Append(area.ExternalFileName) stringBuilder.Append("]") End If stringBuilder.Append(area.SheetName) stringBuilder.Append("!") stringBuilder.Append(CellsHelper.CellIndexToName(area.StartRow, area.StartColumn)) If (area.IsArea) Then stringBuilder.Append(":") stringBuilder.Append(CellsHelper.CellIndexToName(area.EndRow, area.EndColumn)) End If Console.WriteLine(stringBuilder.ToString()) Next workbook.Save("C:\Book2.xls") Get all cells which refer to the specific cell. Indicates whether check other worksheets Get all cells which will be updated when this cell is modified. This method can only work after calling Workbook.CalculateFormula. Gets the width of the value in unit of pixels. Gets the height of the value in unit of pixels. Indicates the cell's formula is and array formula and it is the first cell of the array. Gets the array range if the cell's formula is an array formula. The array range. Only applies when the cell's formula is an array formula Indicates whether the cell formula is an array formula. Indicates whether this cell is part of table formula. Sets an array formula to a range of cells. Array formula. Number of rows to populate result of the array formula. Number of columns to populate result of the array formula. Remove array formula. True represents converting the array formula to normal formula. Sets an Add-In formula to the cell. Add-In file name. Add-In function name. [C#] cells["h11"].SetAddInFormula("HRVSTTRK.xla", "=pct_overcut(F3:G3)"); cells["h12"].SetAddInFormula("HRVSTTRK.xla", "=pct_overcut()"); [Visual Basic] cells("h11").SetAddInFormula("HRVSTTRK.xla", "=pct_overcut(F3:G3)") cells("h12").SetAddInFormula("HRVSTTRK.xla", "=pct_overcut()") Add-In file should be placed in the directory or sub-directory of Workbook Add-In library. For example, file name can be "Eurotool.xla" or "solver\solver.xla". Copies data from a source cell. Source object. Gets the value contained in this cell. Possible type:

null,

Boolean,

DateTime,

Double,

Integer

String.

Indicates if the cell's style is set. If return false, it means this cell has a default cell format. Returns a Characters object that represents a range of characters within the cell text. The index of the start of the character. The number of characters. Characters object. This method only works on cell with string value. [C#] excel.Worksheets[0].Cells["A1"].PutValue("Helloworld"); excel.Worksheets[0].Cells["A1"].Characters(5, 5).Font.IsBold = true; excel.Worksheets[0].Cells["A1"].Characters(5, 5).Font.Color = Color.Blue; [Visual Basic] excel.Worksheets(0).Cells("A1").PutValue("Helloworld") excel.Worksheets(0).Cells("A1").Characters(5, 5).Font.IsBold = True excel.Worksheets(0).Cells("A1").Characters(5, 5).Font.Color = Color.Blue Indicates whether the cell string value is a rich text. Returns all Characters objects that represents a range of characters within the cell text. All Characters objects Returns all Characters objects that represents a range of characters within the cell text. Indicates whether applying table style to the cell if the cell is in the table. All Characters objects Sets rich text format of the cell. All Characters objects. Checks if a cell is part of a merged range or not. Returns a object which represents a merged range. object. Null if this cell is not merged. Sets a formula to a range of cells. Shared formula. Number of rows to populate the formula. Number of columns to populate the formula. Checks whether this object refers to the same cell with another cell object. another cell object true if two cell objects refers to the same cell. Get the result of the conditional formatting. Returns null if no conditional formatting is applied to this cell, Gets the validation applied to this cell. Gets the value of validation which applied to this cell. Gets the table which contains this cell. Represent an area of cells. [C#] //Create Cell Area CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 0; ca.StartColumn = 0; ca.EndColumn = 0; [VB.NET] 'Create Cell Area Dim ca As CellArea = New CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0 Gets or set the start row of this area. Gets or set the end row of this area. Gets or set the start column of this area. Gets or set the end column of this area. Internal use only. Returns a string represents the current Worksheet object. Creats a cell area. The start row. The start column. The end row. The end column. Return a . Creats a cell area. The top-left cell of the range. The bottom-right cell of the range. Return a . Enumerates a cell's border type. Represents thin dash-dotted line. Represents thin dash-dot-dotted line. Represents dashed line. Represents dotted line. Represents double line. Represents hair line. Represents medium dash-dotted line. Represents medium dash-dot-dotted line. Represents medium dashed line. Represents no line. Represents medium line. Represents slanted medium dash-dotted line. Represents thick line. Represents thin line. Encapsulates a collection of objects. [C#] Workbook excel = new Workbook(); Cells cells = excel.Worksheets[0].Cells; //Set default row height cells.StandardHeight = 20; //Set row height cells.SetRowHeight(2, 20.5); //Set default colum width cells.StandardWidth = 15; //Set column width cells.SetColumnWidth(3, 12.57); //Merge cells cells.Merge(5, 4, 2, 2); //Import data DataTable dt = new DataTable("Products"); dt.Columns.Add("Product_ID",typeof(Int32)); dt.Columns.Add("Product_Name",typeof(string)); dt.Columns.Add("Units_In_Stock",typeof(Int32)); DataRow dr = dt.NewRow(); dr[0] = 1; dr[1] = "Aniseed Syrup"; dr[2] = 15; dt.Rows.Add(dr); dr = dt.NewRow(); dr[0] = 2; dr[1] = "Boston Crab Meat"; dr[2] = 123; dt.Rows.Add(dr); cells.ImportDataTable(dt, true, 12, 12, 10, 10); //Export data DataTable outDataTable = cells.ExportDataTable(12, 12, 10, 10); [Visual Basic] Dim excel as Workbook = new Workbook() Dim cells as Cells = excel.Worksheets(0).Cells 'Set default row height cells.StandardHeight = 20 'Set row height cells.SetRowHeight(2, 20.5) 'Set default colum width cells.StandardWidth = 15 'Set column width cells.SetColumnWidth(3, 12.57) 'Merge cells cells.Merge(5, 4, 2, 2) 'Import data Dim dt as DataTable = new DataTable("Employee") dt.Columns.Add("Employee_ID",typeof(Int32)) dt.Columns.Add("Employee_Name",typeof(string)) dt.Columns.Add("Gender",typeof(string)) Dim dr as DataRow = dt.NewRow() dr(0) = 1 dr(1) = "John Smith" dr(2) = "Male" dt.Rows.Add(dr) dr = dt.NewRow() dr(0) = 2 dr(1) = "Mary Miller" dr(2) = "Female" dt.Rows.Add(dr) cells.ImportDataTable(dt, true, 12, 12, 10, 10) 'Export data Dim outDataTable as DataTable = cells.ExportDataTable(12, 12, 10, 10) Gets the number of cells. Gets the cells enumerator. When traversing elements by the returned Enumerator, the cells collection should not be modified (such as operations that will cause new Cell/Row be instantiated or existing Cell/Row be deleted). Otherwise the enumerator may not be able to traverse all cells correctly (some elements may be traversed repeatedly or skipped). The cells enumerator Gets the rows enumerator The rows enuerator. Gets the collection of objects that represents the individual rows in this worksheet. Gets the collection of merged cells. In this collection, each item is a structure which represents an area of merged cells. Gets the element or null at the specified cell row index and column index. Row index Column index Return Cell object if a Cell object exists. Return null if the cell does not exist. Gets the element at the specified cell row index. Row index If the row object does exist return Row object, otherwise return null. Gets the element or null at the specified cell row index and column index. Row index Column index Return Cell object if a Cell object exists. Return null if the cell does not exist. Gets the element or at the specified cell row index. Row index If the row object does exist return Row object, otherwise return null. Gets the element or null at the specified column index. The column index. The Column object. Checks whether a row at given index is hidden. row index true if the row is hidden Checks whether a column at given index is hidden. column index true if the column is hidden. Adds a range object reference to cells The range object will be contained in the cells Creates a object from a range of cells. Upper left cell name. Lower right cell name. A object Creates a object from a range of cells. First row of this range First column of this range Number of rows Number of columns A object Creates a object from an address of the range. The address of the range. A object Creates a object from rows of cells or columns of cells. First row index or first column index, zero based. Total number of rows or columns, one based. True - Range created from columns of cells. False - Range created from rows of cells. A object. Gets item within the worksheet The zero based index of the element. The element at the specified index. NOTE: This member is now obsolete. Instead, please use Cells.GetEnumerator() method to iterate all cells in this worksheet. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced. Gets the element at the specified cell row index and column index. Row index. Column index. The object. [C#] Cells cells = excel.Worksheets[0].Cells; Cell cell = cells[0, 0]; //Gets the cell at "A1" [Visual Basic] Dim cells As Cells = excel.Worksheets(0).Cells Dim cell As Cell = cells(0,0) 'Gets the cell at "A1" Gets the element at the specified cell name. Cell name,including its column letter and row number, for example A5. A object [C#] Cells cells = excel.Worksheets[0].Cells; Cell cell = cells["A1"]; //Gets the cell at "A1" [Visual Basic] Dim cells As Cells = excel.Worksheets(0).Cells Dim cell As Cell = cells("A1") 'Gets the cell at "A1" Gets or sets whether the cells data model should support Multi-Thread reading. Default value of this property is false. If there are multiple threads to read Row/Cell objects in this collection concurrently, this property should be set as true, otherwise unexpected result may be produced. Supporting Multi-Thread reading may degrade the performance for accessing Row/Cell objects from this collection. Gets or sets the memory usage option for this cells. Clears all cell and row objects. Gets and sets the default style. Gets or sets the default column width in the worksheet, in unit of inches. Gets or sets the default column width in the worksheet, in unit of pixels. Gets or sets the default column width in the worksheet, in unit of characters. Gets or sets the default row height in this worksheet, in unit of points. Gets or sets the default row height in this worksheet, in unit of pixels. Import data from custom data table. The custom data table. First row index. First column index. The import options Imports a two-dimension array of data into a worksheet. Two-dimension data array. The row number of the first cell to import in. The column number of the first cell to import in. Imports a two-dimension array of data into a worksheet. Two-dimension data array. The row number of the first cell to import in. The column number of the first cell to import in. Indicates if this method will try to convert string to number. Imports a two-dimension array of data into a worksheet. Two-dimension data array. Two-dimension data style. The row number of the first cell to import in. The column number of the first cell to import in. Indicates if this method will try to convert string to number. Imports a two-dimension array of data into a worksheet. Two-dimension data array. Two-dimension data style. The row number of the first cell to import in. The column number of the first cell to import in. Options for converting string values Imports an array of data into a worksheet. Data array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Imports an arraylist of data into a worksheet. Data arraylist. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Imports an array of data into a worksheet. Data array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Skipped number of rows or columns. Imports a two-dimension array of string into a worksheet. Two-dimension string array. The row number of the first cell to import in. The column number of the first cell to import in. Imports an array of formula into a worksheet. Formula array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Imports an array of string into a worksheet. String array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Imports a two-dimension array of integer into a worksheet. Two-dimension integer array. The row number of the first cell to import in. The column number of the first cell to import in. Imports an array of integer into a worksheet. Integer array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Imports a two-dimension array of double into a worksheet. Two-dimension double array. The row number of the first cell to import in. The column number of the first cell to import in. Imports an array of double into a worksheet. Double array. The row number of the first cell to import in. The column number of the first cell to import in. Specifies to import data vertically or horizontally. Splits the text in the column to columns. The row index. The column index. The number of rows. The split options. Import a CSV file to the cells. The CSV file name. The spliter Whether the string in text file is converted to numeric data. The row number of the first cell to import in. The column number of the first cell to import in. Import a CSV file to the cells. The CSV file stream. The spliter Whether the string in text file is converted to numeric data. The row number of the first cell to import in. The column number of the first cell to import in. Import a CSV file to the cells. The CSV file name. The load options for reading text file The row number of the first cell to import in. The column number of the first cell to import in. Import a CSV file to the cells. The CSV file stream. The load options for reading text file The row number of the first cell to import in. The column number of the first cell to import in. Gets or sets a value indicating whether all worksheet values are preserved as strings. Default is false. Merges a specified range of cells into a single cell. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Reference the merged cell via the address of the upper-left cell in the range. Merges a specified range of cells into a single cell. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Merge conflict merged ranges. Reference the merged cell via the address of the upper-left cell in the range. If mergeConflict is true and the merged range conflicts with other merged cells, other merged cells will be automatically removed. Merges a specified range of cells into a single cell. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Indicates whether check the merged cells intersects other merged cells Merge conflict merged ranges. Reference the merged cell via the address of the upper-left cell in the range. If mergeConflict is true and the merged range conflicts with other merged cells, other merged cells will be automatically removed. Unmerges a specified range of merged cells. First row of this range(zero based) First column of this range(zero based) Number of rows(one based) Number of columns(one based) Hides a row. Row index. Unhides a row. Row index. Row height. The row's height will be changed only when the row is hidden and given height value is positive. Hides multiple rows. The row index. The row number. Unhides the hidden rows. The row index. The row number. Row height. The row's height will be changed only when the row is hidden and given height value is positive. Sets row height in unit of pixels. Row index. Number of pixels. Sets row height in unit of inches. Row index. Number of inches.It should be between 0 and 409.5/72. Sets the height of the specified row. Row index. Height of row.In unit of point It should be between 0 and 409.5. Gets the height of a specified row. Row index Height of row Hides a column. Column index. Unhides a column Column index. Column width. Hide multiple columns. Column index. Column number. Unhide multiple columns. Column index. Column number Column width. Only applies the column width to the hidden columns. Gets the height of a specified row in unit of pixel. Row index Height of row Gets the height of a specified row in unit of inches. Row index Height of row Sets column width in unit of pixels. Column index. Number of pixels. Sets column width in unit of inches. Column index. Number of inches. Sets the width of the specified column. Column index. Width of column.Column width must be between 0 and 255. To hide a column, sets column width to zero. Get the width in different view type. The column index. the column width in unit of pixels Gets the width of the specified column, in units of pixel. Column index Width of column in normal view. Gets the width of the specified column, in units of inches. Column index Width of column Gets the width of the specified column Column index Width of column Minimum row index of cell which contains data or style. Maximum row index of cell which contains data or style. Return -1 if there is no cell whiche contains data or style in the worksheet. Minimum column index of cell which contains data or style. Maximum column index of cell which contains data or style. Return -1 if ther is not cell. Minimum row index of cell which contains data. Maximum row index of cell which contains data. Return -1 if there is no cell which contains data. Minimum column index of cell which contains data. Maximum column index of cell which contains data. Return -1 if there is not cell which contains data. Don't call this property repeatedly. This property will iterate all cells in a worksheet. Gets the last row index of cell which contains data in the specified column. Column index. last row index. Indicates that row height and default font height matches Indicates whether the row is defaultly hidden. Gets the collection of objects that represents the individual columns in this worksheet. Applies formats for a whole column. The column index. The style object which will be applied. Flags which indicates applied formatting properties. Applies formats for a whole row. The row index. The style object which will be applied. Flags which indicates applied formatting properties. Applies formats for a whole worksheet. The style object which will be applied. Flags which indicates applied formatting properties. Copies data and formats of a whole column. Source Cells object contains data and formats to copy. Source column index. Destination column index. Copies data and formats of a whole column. Source Cells object contains data and formats to copy. Source column index. Destination column index. The copied column number. Copies data and formats of the whole columns. Source Cells object contains data and formats to copy. Source column index. The number of the source columns. Destination column index. The number of the destination columns. Copies data and formats of a whole row. Source Cells object contains data and formats to copy. Source row index. Destination row index. Copies data and formats of some whole rows. Source Cells object contains data and formats to copy. Source row index. Destination row index. The copied row number. Copies data and formats of some whole rows. Source Cells object contains data and formats to copy. Source row index. Destination row index. The copied row number. The copy options. Gets the outline level (zero-based) of the row. The row index. The outline level (zero-based) of the row. If the row is not grouped, returns zero. Gets the outline level (zero-based) of the column. The column index The outline level of the column If the column is not grouped, returns zero. Gets the max grouped column outline level (zero-based). The max grouped column outline level(zero-based) Gets the max grouped row outline level (zero-based). The max grouped row outline level (zero-based) Uncollapses the grouped rows/columns. True, uncollapse the grouped rows. The row/column index Collapses the grouped rows/columns. True, collapse the grouped rows. The row/column index Ungroups columns. The first column index to be ungrouped. The last column index to be ungrouped. Groups columns. The first column index to be grouped. The last column index to be grouped. Groups columns. The first column index to be grouped. The last column index to be grouped. Specifies if the grouped columns are hidden. Ungroups rows. The first row index to be ungrouped. The last row index to be ungrouped. True, removes all grouped info.Otherwise, remove the outter group info. Ungroups rows. The first row index to be ungrouped. The last row index to be ungrouped. Only removes outter group info. Groups rows. The first row index to be grouped. The last row index to be grouped. Specifies if the grouped columns are hidden. Groups rows. The first row index to be grouped. The last row index to be grouped. Deletes a column. Column index. Indicates if update references in other worksheets. Deletes a column. Column index. Deletes several columns. Column index. Number of columns to be deleted. Indicates if update references in other worksheets. Check whether the range could be deleted. The start row index of the range. The start column idnex of the range. The number of the rows in the range. The number of the columns in the range. Deletes several rows. The first row index to be deleted. Number of rows to be deleted. If the deleted range contains the top part (not whole) of the table(ListObject), the ranged could not be deleted and nothing will be done.It works as MS Excel. Deletes a row. Row index. Deletes multiple rows in the worksheet. Row index. Number of rows to be deleted. Indicates if update references in other worksheets. Delete all blank columns which do not contain any data. Delete all blank columns which do not contain any data. The options of deleting range. Checks whether given column is blank(does not contain any data). the column index true if given column does not contain any data Delete all blank rows which do not contain any data. Delete all blank rows which do not contain any data. The options of deleting range. Inserts some columns into the worksheet. Column index. The number of columns. Inserts some columns into the worksheet. Column index. The number of columns. Indicates if references in other worksheets will be updated. Inserts a new column into the worksheet. Column index. Indicates if references in other worksheets will be updated. Inserts a new column into the worksheet. Column index. Inserts multiple rows into the worksheet. Row index. Number of rows to be inserted. Indicates if references in other worksheets will be updated. Inserts multiple rows into the worksheet. Row index. Number of rows to be inserted. Inserts a new row into the worksheet. Row index. Gets the collection of objects created at run time. Clears contents and formatting of a range. Range to be cleared. Clears contents and formatting of a range. Start row index. Start column index. End row index. End column index. Clears contents of a range. Range to be cleared. Clears contents of a range. Start row index. Start column index. End row index. End column index. Clears formatting of a range. Range to be cleared. Clears formatting of a range. Start row index. Start column index. End row index. End column index. Gets the last cell in this worksheet. NOTE: This member is now obsolete. Instead, please use Cells.LastCell property. This property will be removed 12 months later since December 2015. Aspose apologizes for any inconvenience you may have experienced. Gets the last cell in this worksheet. Link to a xml map. name of xml map row of the destination cell column of the destination cell path of xml element in xml map e.g. A xml map element structure: -RootElement |-Attribute1 |-SubElement |-Attribute2 |-Attribute3 To link "Attribute1", path is "/RootElement/Attribute1" To link "Attribute2", path is "/RootElement/SubElement/Attribute2" To link whole "SubElement", path is "/RootElement/SubElement" Gets the max range which includes data, merged cells and shapes. Gets the first cell in this worksheet. NOTE: This member is now obsolete. Instead, please use Cells.FirstCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Gets the first cell in this worksheet. Finds the cell with the input string. The formula to search for. Previous cell with the same formula. This parameter can be set to null if searching from the start. Cell object. This method is supported in Standard and above versions of Aspose.Cells. Finds the cell with formla which contains the input string. The formula to search for. Previous cell with the same formula. This parameter can be set to null if searching from the start. Cell object. This method is supported in Standard and above versions of Aspose.Cells. Finds the cell with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input string in the specified area. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Searched area. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input string in the specified area. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Searched area. Search order. True: Up. False: Down. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Search order. True: Up. False: Down. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Sets the find options. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell starting with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell ending with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell containing with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell containing with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Indicates if the searched string is case sensitive. Searched area. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell containing with the input string. The string to search for. Previous cell with the same string. This parameter can be set to null if searching from the start. Indicates if the searched string is case sensitive. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input integer. The integer to search for. Previous cell with the same integer. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell with the input double. The double to search for. Previous cell with the same double. This parameter can be set to null if searching from the start. Cell object. Returns null (Nothing) if no cell is found. NOTE: This member is now obsolete. Instead, please use Cells.Find(object,Cell,FindOptions) method. This member will be removed 12 months later since May 2012. Aspose apologizes for any inconvenience you may have experienced. Finds the cell containing with the input object. The object to search for. The type should be int,double,DateTime,string,bool. Previous cell with the same object. This parameter can be set to null if searching from the start. Find options Cell object. Returns null (Nothing) if no cell is found. Gets the last cell in this row. Row index. Cell object. Gets the last cell in this column. Column index. Cell object. Gets the last cell with maximum column index in this range. Start row index. End row index. Start column index. End column index. Cell object. Gets the last cell with maximum row index in this range. Start row index. End row index. Start column index. End column index. Cell object. Moves the range. The range which should be moved. The dest row. The dest column. Inserts a range of cells and shift cells according to the shift option. Shift area. Number of rows or columns to be inserted. Shift cells option. Indicates if update references in other worksheets. Inserts a range of cells and shift cells according to the shift option. Shift area. Shift cells option. Inserts a range of cells and shift cells according to the shift option. Shift area. Number of rows or columns to be inserted. Shift cells option. Deletes a range of cells and shift cells according to the shift option. Start row index. Start column index. End row index. End column index. Shift cells option. Exports data in the collection to a two-dimension array object. The row number of the first cell to export out. The column number of the first cell to export out. Number of rows to be exported Number of columns to be exported Exported cell value array object. Exports cell value type in the collection to a two-dimension array object. The row number of the first cell to export out. The column number of the first cell to export out. Number of rows to be exported. Number of columns to be exported. Exported CellValuetype array object. Imports custom objects. The custom object The property names.If it is null,we will import all properties of the object. Indicates whether the property name will be imported to the first row. The row number of the first cell to import in. The column number of the first cell to import in. Number of rows to be imported. Indicates whether extra rows are added to fit data. Date format string for cells. Indicates if this method will try to convert string to number. Total number of rows imported. The custom objects should be the same type. Imports custom objects. The custom object The row number of the first cell to import in. The column number of the first cell to import in. The import options. Total number of rows imported. The custom objects should be the same type. Creates subtotals for the range. The range The field to group by, as a zero-based integer offset The subtotal function. An array of zero-based field offsets, indicating the fields to which the subtotals are added. Creates subtotals for the range. The range The field to group by, as a zero-based integer offset The subtotal function. An array of zero-based field offsets, indicating the fields to which the subtotals are added. Indicates whether replace the current subtotals Indicates whether add page break between groups Indicates whether add summarry below data. Removes all formula and replaces with the value of the formula. Remove duplicate values in the range. The start row. The start column The end row index. The end column index. Converts string data in cells to numeric value if possible. Get all cells which refer to the specific cell. Indicates whether check other worksheets The row index. The column index. Get the style of given cell. row index column the style of given cell. The exception that is thrown when Aspose.Cells specified error occurs. Represenets custom exception code. Specifies a cell value type. Cell value is boolean. Cell value is datetime. Cell contains error value Blank cell. Cell value is numeric. Cell value is string. Cell value type is unknown. Represents a range of characters within the cell text. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Adding a new worksheet to the Excel object workbook.Worksheets.Add(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Accessing the "A1" cell from the worksheet Aspose.Cells.Cell cell = worksheet.Cells["A1"]; //Adding some value to the "A1" cell cell.PutValue("Visit Aspose!"); //getting charactor FontSetting charactor = cell.Characters(6, 7); //Setting the font of selected characters to bold charactor.Font.IsBold = true; //Setting the font color of selected characters to blue charactor.Font.Color = Color.Blue; //Saving the Excel file workbook.Save("D:\\book1.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Adding a new worksheet to the Excel object workbook.Worksheets.Add() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Accessing the "A1" cell from the worksheet Dim cell As Aspose.Cells.Cell = worksheet.Cells("A1") 'Adding some value to the "A1" cell cell.PutValue("Visit Aspose!") 'getting charactor Dim charactor As FontSetting = cell.Characters(6, 7) 'Setting the font of selected characters to bold charactor.Font.IsBold = True 'Setting the font color of selected characters to blue charactor.Font.Color = Color.Blue 'Saving the Excel file workbook.Save("D:\book1.xls") Gets the type of text node. Gets the start index of the characters. Gets the length of the characters. Returns the font of this object. Returns the text options. Represents a single column in a worksheet. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Obtaining the reference of the first worksheet Worksheet worksheet = workbook.Worksheets[0]; //Add new Style to Workbook Style style = workbook.Styles[workbook.Styles.Add()]; //Setting the background color to Blue style.BackgroundColor = Color.Blue; //Setting the foreground color to Red style.ForegroundColor= Color.Red; //setting Background Pattern style.Pattern = BackgroundType.DiagonalStripe; //New Style Flag StyleFlag styleFlag = new StyleFlag(); //Set All Styles styleFlag.All = true; //Get first Column Column column = worksheet.Cells.Columns[0]; //Apply Style to first Column column.ApplyStyle(style, styleFlag); //Saving the Excel file workbook.Save("D:\\book1.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Obtaining the reference of the first worksheet Dim worksheet As Worksheet = workbook.Worksheets(0) 'Add new Style to Workbook Dim style As Style = workbook.Styles(workbook.Styles.Add()) 'Setting the background color to Blue style.BackgroundColor = Color.Blue 'Setting the foreground color to Red style.ForegroundColor = Color.Red 'setting Background Pattern style.Pattern = BackgroundType.DiagonalStripe 'New Style Flag Dim styleFlag As New StyleFlag() 'Set All Styles styleFlag.All = True 'Get first Column Dim column As Column = worksheet.Cells.Columns(0) 'Apply Style to first Column column.ApplyStyle(style, styleFlag) 'Saving the Excel file workbook.Save("D:\book1.xls") Gets the index of this column. Gets and sets the column width in unit of characters. Gets the group level of the column. Indicates whether the column is hidden. Applies formats for a whole column. The style object which will be applied. Flags which indicates applied formatting properties. Gets the style of this column. You have to call Column.ApplyStyle() method to save your changing with the row style, otherwise it will not effect. Collects the objects that represent the individual columns in a worksheet. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Obtaining the reference of the first worksheet Worksheet worksheet = workbook.Worksheets[0]; //Add new Style to Workbook Style style = workbook.Styles[workbook.Styles.Add()]; //Setting the background color to Blue style.ForegroundColor = Color.Blue; //setting Background Pattern style.Pattern = BackgroundType.Solid; //New Style Flag StyleFlag styleFlag = new StyleFlag(); //Set All Styles styleFlag.All = true; //Change the default width of first ten columns for (int i = 0; i < 10; i++) { worksheet.Cells.Columns[i].Width = 20; } //Get the Column with non default formatting ColumnCollection columns = worksheet.Cells.Columns; foreach (Column column in columns) { //Apply Style to first ten Columns column.ApplyStyle(style, styleFlag); } //Saving the Excel file workbook.Save("D:\\book1.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Obtaining the reference of the first worksheet Dim worksheet As Worksheet = workbook.Worksheets(0) 'Add new Style to Workbook Dim style As Style = workbook.Styles(workbook.Styles.Add()) 'Setting the background color to Blue style.ForegroundColor = Color.Blue 'setting Background Pattern style.Pattern = BackgroundType.Solid 'New Style Flag Dim styleFlag As New StyleFlag() 'Set All Styles styleFlag.All = True 'Change the default width of first ten columns For i As Integer = 0 To 9 worksheet.Cells.Columns(i).Width = 20 Next i 'Get the Column with non default formatting Dim columns As ColumnCollection = worksheet.Cells.Columns For Each column As Column In columns 'Apply Style to first ten Columns column.ApplyStyle(style, styleFlag) Next column 'Saving the Excel file workbook.Save("D:\book1.xls") Gets the column object by the index. Returns the column object. NOTE: This member is now obsolete. Instead, please use Columns.GetColumnByIndex() method. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Gets the object by the position in the list. The position in the list. Returns the column object. Gets a object by column index. The Column object of given column index will be instantiated if it does not exist before. Encapsulates a collection of objects. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Get Conditional Formattings ConditionalFormattingCollection cformattings = sheet.ConditionalFormattings; //Adds an empty conditional formatting int index = cformattings.Add(); //Get newly added Conditional formatting FormatConditionCollection fcs = cformattings[index]; //Sets the conditional format range. CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 0; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); ca = new CellArea(); ca.StartRow = 1; ca.EndRow = 1; ca.StartColumn = 1; ca.EndColumn = 1; fcs.AddArea(ca); //Add condition. int conditionIndex = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100"); //Add condition. int conditionIndex2 = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100"); //Sets the background color. FormatCondition fc = fcs[conditionIndex]; fc.Style.BackgroundColor = Color.Red; //Saving the Excel file workbook.Save("C:\\output.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) 'Get Conditional Formattings Dim cformattings As ConditionalFormattingCollection = sheet.ConditionalFormattings 'Adds an empty conditional formatting Dim index As Integer = cformattings.Add() 'Get newly added Conditional formatting Dim fcs As FormatConditionCollection = cformattings(index) 'Sets the conditional format range. Dim ca As New CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) ca = New CellArea() ca.StartRow = 1 ca.EndRow = 1 ca.StartColumn = 1 ca.EndColumn = 1 fcs.AddArea(ca) 'Add condition. Dim conditionIndex As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100") 'Add condition. Dim conditionIndex2 As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100") 'Sets the background color. Dim fc As FormatCondition = fcs(conditionIndex) fc.Style.BackgroundColor = Color.Red 'Saving the Excel file workbook.Save("C:\output.xls") Remove all conditional formattings in the range. The start row of the range. The start column of the range. The number of rows of the range. The number of columns of the range. Copies condtional formattings. The condtional formattings Gets the FormatConditions element at the specified index. The zero based index of the element. Adds a FormatConditions to the collection. FormatConditions object index. Represents consolidation function. Represents Sum function. Represents Count function. Represents Average function. Represents Max function. Represents Min function. Represents Product function. Represents Count Nums function. Represents StdDev function. Represents StdDevp function. Represents Var function. Represents Varp function. Represents Distinct Count function. Only valid for PivotTable with Data Module created since by 2013. Represents the command of header/footer Gets the header/footer' command type . Gets the font of the command's value. Useless for HeaderFooterCommandType.Picture. Gets the text of the command. Only valid for HeaderFooterCommandType.Text. Represents the copy options. CopyOptions constructor. Indicates whether extend ranges when copying the range to adjacent range. If it's true, only extends the range of the hyperlink,not adding a new hyperlink when copying hyperlinks to adjacent rows. Indicates whether copying the names. If the formula is not valid for the dest destination, only copy values. Indicates whether copying column width in unit of characters. When copying a worksheet to another workbook and the worksheet contains the formulas which refer to other worksheets in MS Excel, the copied formulas should refer to source workbook. But sometimes we have copied other worksheets and we hope the copied formulas refer to other worksheets with the name in the same workbook, please set this property as true. The default value is true. When copying the range in the same file and the chart refers to the source sheet, False means the copied chart's data source will not be changed. True means the copied chart's data source refers to the destination sheet. The default value is false, it works as MS Excel. Represents Excel country identifiers. United States Canada Latin America, except Brazil Russia Egypt Greece Netherlands Belgium France Spain Hungary Italy Switzerland Austria United Kingdom Denmark Sweden Norway Poland Germany Mexico Brazil Australia New Zealand Thailand Japan SouthKorea Viet Nam People's Republic of China Turkey India Algeria Morocco Libya Portugal Iceland Finland Czech Republic Taiwan Lebanon Jordan Syria Iraq Kuwait Saudi Arabia United Arab Emirates Israel Qatar Iran Summary description for DataSorter. [C#] //Instantiate a new Workbook object. Workbook workbook = new Workbook("C:\\Book1.xls"); //Get the workbook datasorter object. DataSorter sorter = workbook.DataSorter; //Set the first order for datasorter object. sorter.Order1 = Aspose.Cells.SortOrder.Descending; //Define the first key. sorter.Key1 = 0; //Set the second order for datasorter object. sorter.Order2 = Aspose.Cells.SortOrder.Ascending; //Define the second key. sorter.Key2 = 1; //Create a cells area (range). CellArea ca = new CellArea(); //Specify the start row index. ca.StartRow = 0; //Specify the start column index. ca.StartColumn = 0; //Specify the last row index. ca.EndRow = 13; //Specify the last column index. ca.EndColumn = 1; //Sort data in the specified data range (A1:B14) sorter.Sort(workbook.Worksheets[0].Cells, ca); //Save the excel file. workbook.Save("C:\\outBook.xls"); [Visual Basic] 'Instantiate a new Workbook object. Dim workbook As Workbook = New Workbook("C:\Book1.xls") 'Get the workbook datasorter object. Dim sorter As DataSorter = workbook.DataSorter 'Set the first order for datasorter object sorter.Order1 = Aspose.Cells.SortOrder.Descending 'Define the first key. sorter.Key1 = 0 'Set the second order for datasorter object. sorter.Order2 = Aspose.Cells.SortOrder.Ascending 'Define the second key. sorter.Key2 = 1 'Create a cells area (range). Dim ca As CellArea = New CellArea 'Specify the start row index. ca.StartRow = 0 'Specify the start column index. ca.StartColumn = 0 'Specify the last row index. ca.EndRow = 13 'Specify the last column index. ca.EndColumn = 1 'Sort the data in the specified data range (A1:B14) sorter.Sort(workbook.Worksheets(0).Cells, ca) 'Save the excel file. workbook.Save("C:\outBook.xls") Clear all settings. Represents whether the range has headers. Adds sorted column index and sort order. The sorted column index. The sort order Adds sorted column index and sort order with custom sort list. The sorted column index. The sort order. The custom sort list. Represents first sorted column index. Represents sort order of the first key. Represents second sorted column index. Represents sort order of the second key. Represents third sorted column index. Represents sort order of the third key. True means that sorting orientation is from left to right. False means that sorting orientation is from top to bottom. The default value is false. Gets and sets whether case sensitive when comparing string. Indicates whether sorting anything that looks like a number. Sorts the data of the area. The cells contains the data area. The start row of the area. The start column of the area. The end row of the area. The end column of the area. Sort the datas of the area. The cells contains the data area. The area needed to sort Sort the data in the range. Represents whether and how to show objects in the workbook. Show all objects Show placeholders Hide all shapes. Encryption Type. Only used by excel2003. We will encrypt 2007/2010 workbook using SHA AES the same as Excel does, and this EncryptionType will be ignored. Office 97/2000 compatible. Represents custom exception type code. Invalid chart setting. Invalid data type setting. Invalid data validation setting. Invalid data validation setting. Invalid file format. Invalid formula. Invalid data. Invalid operator. Incorrect password. License related errors. Out of MS Excel limitation error. Invalid page setup setting. Invalid pivotTable setting. Invalid drawing object setting. Invalid sparkline object setting. Invalid worksheet name. Invalid worksheet type. The operator is interrupted. The file is invalid. Unsupported feature. Unsupported stream to be opened. Files contains some undisclosed information. Represents an external link in a workbook. [C#] //Open a file with external links Workbook workbook = new Workbook("d:\\book1.xls"); //Get External Link ExternalLink externalLink = workbook.Worksheets.ExternalLinks[0]; //Change External Link's Data Source externalLink.DataSource = "d:\\link.xls"; [VB.NET] 'Open a file with external links Dim workbook As New Workbook("d:\book1.xls") 'Get External Link Dim externalLink As ExternalLink = workbook.Worksheets.ExternalLinks(0) 'Change External Link's Data Source externalLink.DataSource = "d:\link.xls" Represents stored data source of the external link. Represents data source of the external link. Adds an external name. The text of the external name. If the external name belongs to a worksheet, the text should be as Sheet1!Text. The referTo of the external name. It must be a cell or the range. Indicates whether this external link is referenced by others. Indicates whether this external link is visible in MS Excel. Represents external links collection in a workbook. [C#] //Open a file with external links Workbook workbook = new Workbook("d:\\book1.xls"); //Change external link data source workbook.Worksheets.ExternalLinks[0].DataSource = "d:\\link.xls"; [Visual Basic] 'Open a file with external links Dim workbook As Workbook = New Workbook("d:\\book1.xls") 'Change external link data source workbook.Worksheets.ExternalLinks(0).DataSource = "d:\\link.xls" Gets the number of elements actually contained in the collection. Adds an external link. The external file name. All sheet names of the external file. The position of the external name in this list. Add an external link . The directory type of the file name. the file name. All sheet names of the external file. The position of the external name in this list. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Enumerates spreadsheet file format types Saves the spreadsheet in Aspose.Pdf.Xml format that can be read by Aspose.Pdf to produce a PDF file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 6 months later since April 2010. Aspose apologizes for any inconvenience you may have experienced. Represents a CSV file. Represents an Excel 97-2003 xls file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since March 2010. Aspose apologizes for any inconvenience you may have experienced. Represents an xlsx file. Represents an xlsx file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents an xlsm file which enable macros. Represents an xlsm file which enable macros. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents a template xltx file. Represents a template xltx file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents a macro-enabled template xltm file. Represents a addinMacro-enabled template xltm file. Represents a macro-enabled template xltm file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents a tab delimited text file. Represents a html file. Represents a mhtml file. Represents a ods file. Represents an Excel97-2003 xls file. Represents an Excel 2003 xml file. Represents an xlsb file. Represents an xlsb file. NOTE: This member is now obsolete. Instead, please use property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents unrecognized format, cannot be loaded. Represents a Pdf file. Represents an XPS file. Represents a TIFF file. Represents a svg file. Represents an Excel95 xls file. The file format is not supported Represents an Excel4.0 xls file. The file format is not supported Represents an Excel3.0 xls file. The file format is not supported Represents an Excel2.1 xls file. The file format is not supported Represents a pptx file. The file format is not supported Only for detecting file type. Represents a docx file. The file format is not supported Only for detecting file type. Data Interchange Format. Represents a doc file. The file format is not supported Only for detecting file type. Represents a ppt file. The file format is not supported Only for detecting file type. Represents a email file. The file format is not supported Only for detecting file type. Represents the MS Equation 3.0 object. The file format is not supported Only for detecting file type. Represents the embedded native object. The file format is not supported Only for detecting file type. Represents MS Visio VSD binary format. The file format is not supported Only for detecting file type. MS Visio 2013 VSDX file format. The file format is not supported Only for detecting file type. Represents a docm file. The file format is not supported Only for detecting file type. Represents a dotx file. The file format is not supported Only for detecting file type. Represents a dotm file. The file format is not supported Only for detecting file type. Represents a pptm file. The file format is not supported Only for detecting file type. Represents a Potx file. The file format is not supported Only for detecting file type. Represents a Potm file. The file format is not supported Only for detecting file type. Represents a ppsx file. The file format is not supported Only for detecting file type. Represents a ppsm file. The file format is not supported Only for detecting file type. Represents office open xml file(such as xlsx, docx,pptx, etc). The file format is not supported Only for detecting file type. If the office open xml file is encrypted, it could not be detected as xlsx ,docx, pptx,etc. Represents a odt file. The file format is not supported Only for detecting file type. Represents a odp file. The file format is not supported Only for detecting file type. Represents a odf file. The file format is not supported Only for detecting file type. Represents a odg file. The file format is not supported Only for detecting file type. Represents an simple xml file. The file format is not supported Only for detecting file type. Represents a template xlt file. Represents a odt file. The file format is not supported Only for detecting file type. Represents a bmp file. The file format is not supported Only for detecting file type. Represents a ods file. Represents a filter for a single column. The Filter object is a member of the Filters collection Indicates whether the AutoFilter button for this column is visible. InnerCustom Filter operator type. Represents LessOrEqual operator. Represents LessThan operator. Represents Equal operator. Represents GreaterThan operator. Represents NotEqual operator. Represents GreaterOrEqual operator. Represents no comparision. A collection of Filter objects that represents all the filters in an autofiltered range. Returns a single Filter object from a collection. Gets object at the special field. The integer offset of the field on which you want to base the filter (from the left of the list; the leftmost field is field 0). Returens object. Encapsulates the font object used in a spreadsheet. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Accessing the "A1" cell from the worksheet Aspose.Cells.Cell cell = worksheet.Cells["A1"]; //Adding some value to the "A1" cell cell.PutValue("Hello Aspose!"); Aspose.Cells.Font font = cell.Style.Font; //Setting the font name to "Times New Roman" font.Name = "Times New Roman"; //Setting font size to 14 font.Size = 14; //setting font color as Red font.Color = System.Drawing.Color.Red; //Saving the Excel file workbook.Save(@"d:\dest.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Accessing the "A1" cell from the worksheet Dim cell As Aspose.Cells.Cell = worksheet.Cells("A1") 'Adding some value to the "A1" cell cell.PutValue("Hello Aspose!") Dim font As Aspose.Cells.Font = cell.Style.Font 'Setting the font name to "Times New Roman" font.Name = "Times New Roman" 'Setting font size to 14 font.Size = 14 'setting font color as Red font.Color = System.Drawing.Color.Red 'Saving the Excel file workbook.Save("d:\dest.xls") Represent the character set. Gets or sets a value indicating whether the font is italic. Gets or sets a value indicating whether the font is bold. Gets and sets the text caps type. Gets the strike type of the text. Gets or sets a value indicating whether the font is single strikeout. Gets and sets the sript offset,in unit of percentage Gets or sets a value indicating whether the font is super script. Gets or sets a value indicating whether the font is subscript. Gets or sets the font underline type. Gets or sets the name of the . [C#] Style style; .......... Font font = style.Font; font.Name = "Times New Roman"; [Visual Basic] Dim style As Style .......... Dim font As Font = style.Font font.Name = "Times New Roman" Gets and sets the double size of the font. Gets or sets the size of the font. Gets and sets the theme color. If the font color is not a theme color, NULL will be returned. Gets or sets the of the font. Gets and sets the color with a 32-bit ARGB value. Checks if two fonts are equals. Compared font object. True if equal to the compared font object. Indicates whether the normalization of height that is to be applied to the text run. Returns a string represents the current Cell object. Enumerates the font underline types. Represents no underline. Represents single underline. Represents double underline. Represents single accounting underline. Represents double accounting underline. Represents Dashed Underline Represents Thick Dash-Dot-Dot Underline Represents Thick Dash-Dot Underline Represents Thick Dashed Underline Represents Long Dashed Underline Represents Thick Long Dashed Underline Represents Dash-Dot Underline Represents Dash-Dot-Dot Underline Represents Dotted Underline Represents Thick Dotted Underline Represents Thick Underline Represents Wave Underline Represents Double Wave Underline Represents Heavy Wave Underline Represents Underline Non-Space Characters Only Represents conditional formatting condition. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Adds an empty conditional formatting int index = sheet.ConditionalFormattings.Add(); FormatConditionCollection fcs = sheet.ConditionalFormattings[index]; //Sets the conditional format range. CellArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 0; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); ca = new CellArea(); ca.StartRow = 1; ca.EndRow = 1; ca.StartColumn = 1; ca.EndColumn = 1; fcs.AddArea(ca); //Adds condition. int conditionIndex = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100"); //Adds condition. int conditionIndex2 = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100"); //Sets the background color. FormatCondition fc = fcs[conditionIndex]; fc.Style.BackgroundColor = Color.Red; //Saving the Excel file workbook.Save("C:\\output.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) ' Adds an empty conditional formatting Dim index As Integer = sheet.ConditionalFormattings.Add() Dim fcs As FormatConditionCollection = sheet.ConditionalFormattings(index) 'Sets the conditional format range. Dim ca As CellArea = New CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) ca = New CellArea() ca.StartRow = 1 ca.EndRow = 1 ca.StartColumn = 1 ca.EndColumn = 1 fcs.AddArea(ca) 'Adds condition. Dim conditionIndex As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100") 'Adds condition. Dim conditionIndex2 As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100") 'Sets the background color. Dim fc As FormatCondition = fcs(conditionIndex) fc.Style.BackgroundColor = Color.Red 'Saving the Excel file workbook.Save("C:\output.xls") Gets and sets the value or expression associated with conditional formatting. Please add all areas before setting formula. Gets the formula of the conditional formatting of the cell. The row index. The column index. The formula. Gets and sets the value or expression associated with conditional formatting. Please add all areas before setting formula. Gets the formula of the conditional formatting of the cell. The row index. The column index. The formula. Gets and sets the conditional format operator type. True, no rules with lower priority may be applied over this rule, when this rule evaluates to true. Only applies for Excel 2007; The priority of this conditional formatting rule. This value is used to determine which format should be evaluated and rendered. Lower numeric values are higher priority than higher numeric values, where '1' is the highest priority. Gets or setts style of conditional formatted cell ranges. Gets and sets whether the conditional format Type. Get the conditional formatting's "IconSet" instance. The default instance's IconSetType is TrafficLights31. Valid only for type = IconSet. Get the conditional formatting's "DataBar" instance. The default instance's color is blue. Valid only for type = DataBar. Get the conditional formatting's "ColorScale" instance. The default instance is a "green-yellow-red" 3ColorScale . Valid only for type = ColorScale. Get the conditional formatting's "Top10" instance. The default instance's rule highlights cells whose values fall in the top 10 bracket. Valid only for type = Top10. Get the conditional formatting's "AboveAverage" instance. The default instance's rule highlights cells that are above the average for all values in the range. Valid only for type = AboveAverage. The text value in a "text contains" conditional formatting rule. Valid only for type = containsText, notContainsText, beginsWith and endsWith. The default value is null. The applicable time period in a "date occurring¡­" conditional formatting rule. Valid only for type = timePeriod. The default value is TimePeriodType.Today. Describe the AboveAverage conditional formatting rule. This conditional formatting rule highlights cells that are above or below the average for all values in the range. Get or set the flag indicating whether the rule is an "above average" rule. 'true' indicates 'above average'. Default value is true. Get or set the flag indicating whether the 'aboveAverage' and 'belowAverage' criteria is inclusive of the average itself, or exclusive of that value. 'true' indicates to include the average value in the criteria. Default value is false. Get or set the number of standard deviations to include above or below the average in the conditional formatting rule. The input value must between 0 and 3 (include 0 and 3). Setting this value to 0 means stdDev is not set. The default value is 0. Represents conditional formatting. The FormatConditions can contain up to three conditional formats. [C#] //Adds an empty conditional formatting int index = sheet.ConditionalFormattings.Add(); FormatConditionCollection fcs = sheet.ConditionalFormattings[index]; //Sets the conditional format range. CllArea ca = new CellArea(); ca.StartRow = 0; ca.EndRow = 0; ca.StartColumn = 0; ca.EndColumn = 0; fcs.AddArea(ca); ca = new CellArea(); ca.StartRow = 1; ca.EndRow = 1; ca.StartColumn = 1; ca.EndColumn = 1; fcs.AddArea(ca); //Adds condition. int conditionIndex = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100"); //Adds condition. int conditionIndex2 = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100"); //Sets the background color. FormatCondition fc = fcs[conditionIndex]; fc.Style.BackgroundColor = Color.Red; //Saving the Excel file workbook.Save("C:\\output.xls"); [Visual Basic] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() Dim sheet As Worksheet = workbook.Worksheets(0) ' Adds an empty conditional formatting Dim index As Integer = sheet.ConditionalFormattings.Add() Dim fcs As FormatConditionCollection = sheet.ConditionalFormattings(index) 'Sets the conditional format range. Dim ca As CellArea = New CellArea() ca.StartRow = 0 ca.EndRow = 0 ca.StartColumn = 0 ca.EndColumn = 0 fcs.AddArea(ca) ca = New CellArea() ca.StartRow = 1 ca.EndRow = 1 ca.StartColumn = 1 ca.EndColumn = 1 fcs.AddArea(ca) 'Adds condition. Dim conditionIndex As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "=A2", "100") 'Adds condition. Dim conditionIndex2 As Integer = fcs.AddCondition(FormatConditionType.CellValue, OperatorType.Between, "50", "100") 'Sets the background color. Dim fc As FormatCondition = fcs(conditionIndex) fc.Style.BackgroundColor = Color.Red 'Saving the Excel file workbook.Save("C:\output.xls") Adds a formatting condition and effected cell rang to the FormatConditions The FormatConditions can contain up to three conditional formats. References to the other sheets are not allowed in the formulas of conditional formattin Conditional formatted cell range. Type of conditional formatting.It could be one of the members of FormatConditionType. Comparison operator.It could be one of the members of OperatorType. The value or expression associated with conditional formatting. The value or expression associated with conditional formatting [0]:Formatting condition object index;[1] Effected cell rang index. Adds a conditional formatted cell range. Conditional formatted cell range. Conditional formatted cell rang index. Adds a formatting condition. of conditinal formatting.It could be one of the members of FormatConditionType. The comparison .It could be one of the members of OperatorType. The value or expression associated with conditinal formatting. The value or expression associated with conditinal formatting. Formatting condition object index; Add a format condition. Format condition type. Formatting condition object index; Gets the count of the conditions. Gets count of conditionally formatted ranges. Gets the formatting conidition by index. the index of the formatting conidition to return. the formatting conidition Gets the conditional formatted cell range by index. the index of the coditional formatted cell range. the conditional formatted cell range Removes conditional formatted cell range by index. The index of the conditional formatted cell range to be removed. Remove conditional formatting int the range. The startRow of the range. The startColumn of the range. The number of rows of the range. The number of columns of the range. Returns TRUE, this FormatCondtionCollection should be removed. Removes the formatting condition by index. The index of the formatting condition to be removed. Conditional format rule type. This conditional formatting rule compares a cell value to a formula calculated result, using an operator. This conditional formatting rule contains a formula to evaluate. When the formula result is true, the cell is highlighted. This conditional formatting rule creates a gradated color scale on the cells. This conditional formatting rule displays a gradated data bar in the range of cells. This conditional formatting rule applies icons to cells according to their values. This conditional formatting rule highlights cells whose values fall in the top N or bottom N bracket, as specified. This conditional formatting rule highlights unique values in the range. This conditional formatting rule highlights duplicated values. This conditional formatting rule highlights cells containing given text. Equivalent to using the SEARCH() sheet function to determine whether the cell contains the text. This conditional formatting rule highlights cells that are not blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells in the range that begin with the given text. Equivalent to using the LEFT() sheet function and comparing values. This conditional formatting rule highlights cells ending with given text. Equivalent to using the RIGHT() sheet function and comparing values. This conditional formatting rule highlights cells that are completely blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells that are not blank. Equivalent of using LEN(TRIM()). This means that if the cell contains only characters that TRIM() would remove, then it is considered blank. An empty cell is also considered blank. This conditional formatting rule highlights cells with formula errors. Equivalent to using ISERROR() sheet function to determine if there is a formula error. This conditional formatting rule highlights cells without formula errors. Equivalent to using ISERROR() sheet function to determine if there is a formula error. This conditional formatting rule highlights cells containing dates in the specified time period. The underlying value of the cell is evaluated, therefore the cell does not need to be formatted as a date to be evaluated. For example, with a cell containing the value 38913 the conditional format shall be applied if the rule requires a value of 7/14/2006. This conditional formatting rule highlights cells that are above or below the average for all values in the range. Provides helper functions. Gets and sets the number of significant digits. The default value is 17. Only could be 15 or 17 now. Gets the DPI of the machine. Get the release version. The release version. Gets whether the file is protected by Microsoft Rights Management Server. The file name. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Gets whether the file is protected by Microsoft Rights Management Server. The file stream. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Gets the cell row and column indexes according to its name. Name of cell. Output row index Output column index Gets cell name according to its row and column indexes. Row index. Column index. Name of cell. Gets column name according to column index. Column index. Name of column. Gets column index according to column name. Column name. Column index. Gets row name according to row index. Row index. Name of row. Gets row index according to row name. Row name. Row index. Converts the r1c1 formula of the cell to A1 formula. The r1c1 formula. The row index of the cell. The column index of the cell. The A1 formula. Converts A1 formula of the cell to the r1c1 formula. The A1 formula. The row index of the cell. The column index of the cell. The R1C1 formula. Convert the double value to the date time value. The double value. Date 1904 system. Convert the date time to double value. The date time. Date 1904 system. Detects the file load format. The file name. The load format. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Detects the file load format. The stream. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Detects the file format type. the file name The file format type. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. Detects the format type of the file stored in the stream. The stream The file format type. This member is now obsolete. Instead, please use property. This property will be removed 12 months later since December 2013. Aspose apologizes for any inconvenience you may have experienced. When generating PDF/XPS, specific font file directory can be set in the property. If it is not set , using %WINDOWS%\fonts by default. This member is now obsolete. Instead, please use method with folder recursive to false. This property will be removed 12 months later since July 2016. Aspose apologizes for any inconvenience you may have experienced. When generating PDF/XPS, specific font file directories can be set in the property. If it is not set , using %WINDOWS%\fonts by default. This member is now obsolete. Instead, please use method with folder recursive to false. This property will be removed 12 months later since July 2016. Aspose apologizes for any inconvenience you may have experienced. When generating PDF/XPS, specific font files can be set in the property. Such as "d:\myfonts\myArial.ttf" This member is now obsolete. Instead, please use method. This property will be removed 12 months later since July 2016. Aspose apologizes for any inconvenience you may have experienced. Gets or sets the startup path, which is referred to by some external formula references. Gets or sets the alternate startup path, which is referred to by some external formula references. Gets or sets the library path which is referred to by some external formula references. Gets all used colors in the workbook. The workbook object. The used colors. Add addin function. The function name. Minimum number of parameters this function requires Maximum number of parameters this function allows. The excepted parameters type of the function The function value type. Merges some large xls files to a xls file. The files. The cached file. The dest file. This method only supports merging data, style and formulas to the new file. The cached file is used to store some temporary data. Encapsulates the object that represents a horizontal page break. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Add a page break at cell Y30 int Index = worksheet.HorizontalPageBreaks.Add("Y30"); //get the newly added horizontal page break HorizontalPageBreak hPageBreak = worksheet.HorizontalPageBreaks[Index]; [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Add a page break at cell Y30 Dim Index As Integer = worksheet.HorizontalPageBreaks.Add("Y30") 'get the newly added horizontal page break Dim hPageBreak As HorizontalPageBreak = worksheet.HorizontalPageBreaks(Index) Gets the start column index of this horizontal page break. Gets the end column index of this horizontal page break. Gets the zero based row index. Encapsulates a collection of objects. [C#] //Add a pagebreak at G5 excel.Worksheets[0].HorizontalPageBreaks.Add("G5"); excel.Worksheets[0].VerticalPageBreaks.Add("G5"); [VB] 'Add a pagebreak at G5 excel.Worksheets(0).HorizontalPageBreaks.Add("G5") excel.Worksheets(0).VerticalPageBreaks.Add("G5") Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element with the specified cell name. Cell name. The element with the specified cell name. Adds a horizontal page break to the collection. Row index, zero based. Start column index, zero based. End column index, zero based. object index. This method is used to add a horizontal pagebreak within a print area. Adds a horizontal page break to the collection. Cell row index, zero based. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Adds a horizontal page break to the collection. Cell row index, zero based. Cell column index, zero based. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Adds a horizontal page break to the collection. Cell name. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Removes the HPageBreak element at a specified name. Element index, zero based. Encapsulates the object that represents a hyperlink. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Adding a new worksheet to the Workbook object workbook.Worksheets.Add(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Adding a hyperlink to a URL at "A1" cell worksheet.Hyperlinks.Add("A1", 1, 1, "http://www.aspose.com"); //Saving the Excel file workbook.Save("C:\\book1.xls"); [Visual Basic] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() 'Adding a new worksheet to the Workbook object workbook.Worksheets.Add() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Adding a hyperlink to a URL at "A1" cell worksheet.Hyperlinks.Add("A1", 1, 1, "http://www.aspose.com") 'Saving the Excel file workbook.Save("C:\book1.xls") Represents the address of a hyperlink. Represents the text to be displayed for the specified hyperlink. The default value is the address of the hyperlink. Gets the range of hyperlink. Returns or sets the ScreenTip text for the specified hyperlink. Encapsulates a collection of objects. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Obtaining the reference of the newly added worksheet by passing its sheet index Worksheet worksheet = workbook.Worksheets[0]; //Get Hyperlinks Collection HyperlinkCollection hyperlinks = worksheet.Hyperlinks; //Adding a hyperlink to a URL at "A1" cell hyperlinks.Add("A1", 1, 1, "http://www.aspose.com"); //Saving the Excel file workbook.Save("D:\\book1.xls"); [VB.NET] 'Instantiating a Workbook object Dim workbook As New Workbook() 'Obtaining the reference of the newly added worksheet by passing its sheet index Dim worksheet As Worksheet = workbook.Worksheets(0) 'Get Hyperlinks Collection Dim hyperlinks As HyperlinkCollection = worksheet.Hyperlinks 'Adding a hyperlink to a URL at "A1" cell hyperlinks.Add("A1", 1, 1, "http://www.aspose.com") 'Saving the Excel file workbook.Save("D:\book1.xls") Adds a hyperlink to a specified cell or a range of cells. First row of the hyperlink range. First column of the hyperlink range. Number of rows in this hyperlink range. Number of columns of this hyperlink range. Address of the hyperlink. object index. [C#] Worksheet worksheet = excel.Worksheets[0]; worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com"); worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls"); [Visual Basic] Dim worksheet as Worksheet = excel.Worksheets(0) worksheet.Hyperlinks.Add("A4", 1, 1, "http://www.aspose.com") worksheet.Hyperlinks.Add("A5", 1, 1, "c:\\book1.xls") Adds a hyperlink to a specified cell or a range of cells. Cell name. Number of rows in this hyperlink range. Number of columns of this hyperlink range. Address of the hyperlink. object index. Adds a hyperlink to a specified cell or a range of cells. The top-left cell of the range. The bottom-right cell of the range. Address of the hyperlink. The text to be displayed for the specified hyperlink. The screenTip text for the specified hyperlink. object index. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Remove the hyperlink at the specified index. The zero based index of the element. Clears all hyperlinks. Allows users to add their custom formula calculation functions to extend the calculation engine. Calculates the result of custom function. InnerCustom function name, such as "MyFunc1". A list of parameters value for custom functions. A list of context objects. Result of custom function. Currently there are 3 fixed context objects and some varialbe context objects:

1. Current Workbook object.

2. Current Worksheet object.

3. Current Cell object.

Others are custom function parameters text.

If a custom function name is not supported, please return a null reference.
Repesents the save options for csv/tab delimitered/other text format. Creates text file save options. Creates text file save options. The save foramt of the text file. Gets and sets char Delimiter of text file. Gets and sets the a string value as separator. Gets and sets the default encoding.Only applies for csv file. Indicates whether always adding '"' for each field. If true then all values will be quoted; If false then only quote values when needed(when values contain special characters such as '"' , '\n' or separator character). Default is false. NOTE: This member is now obsolete. Instead, please use QuoteType property instead. This property will be removed 12 months later since August 2012. Aspose apologizes for any inconvenience you may have experienced. Gets or sets how to quote values in the exported text file. Gets and sets the format strategy when exporting the cell value as string. The Data provider to provide cells data for saving workbook in light mode. Indicates whether leading blank rows and columns should be trimmed like what ms excel does. Represents Xml Data Binding information. Represents a defined name for a range of cells. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); //Accessing the first worksheet in the Excel file Worksheet worksheet = workbook.Worksheets[0]; //Creating a named range Range range = worksheet.Cells.CreateRange("B4", "G14"); //Setting the name of the named range range.Name = "TestRange"; //Saving the modified Excel file in default (that is Excel 2000) format workbook.Save("C:\\output.xls"); [Visual Basic] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() 'Accessing the first worksheet in the Excel file Dim worksheet As Worksheet = workbook.Worksheets(0) 'Creating a named range Dim range As Range = worksheet.Cells.CreateRange("B4", "G14") 'Setting the name of the named range range.Name = "TestRange" 'Saving the modified Excel file in default (that is Excel 2000) format workbook.Save("C:\\output.xls") Gets and sets the commont of the name. Only applies for Excel 2007. Gets the name text of the object. Gets the name full text of the object with the scope setting. Returns or sets the formula that the name is defined to refer to, beginning with an equal sign. Gets or sets a R1C1 reference of the . Indicates whether this name is referred by other formulas. Indicates whether the name is visible. Indicates this name belongs to Workbook or Worksheet. 0 = Global name, otherwise index to sheet (one-based) Returns a string represents the current Range object. Gets all ranges which referred by this name. All ranges. Gets the range if this name refers to a range. The range. Gets the range if this name refers to a range. If the reference is not absolute reference, the range will be different in different cell. The according sheet index. The according row index. The according column index The range. Represents a collection of all the objects in the spreadsheet. Defines a new name. The text to use as the name. object index. Name cannot include spaces and cannot look like cell references. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element with the specified name. Name text. The element with the specified name. Remove an array of name The names' text. Remove the name. The name text. Remove the name at the specific index. Please make sure that the name is not referred by the other formulas before calling the method. And if the name is referred,please only set Name.RefersTo as null. Remove all defined names which are not referenced by the formulas and data source. If the defined name is refered, we only set Name.ReferTo as null and hide them. Remove the duplicate defined names Sorts defined names. If you create a large amount of named ranges in the Excel file, please call this method after all named ranges are created and before saving Represents the operator type of conditional format and data validation. Represents Between operator of conditional format and data validation. Represents Equal operator of conditional format and data validation. Represents GreaterThan operator of conditional format and data validation. Represents GreaterOrEqual operator of conditional format and data validation. Represents LessThan operator of conditional format and data validation. Represents LessOrEqual operator of conditional format and data validation. Represents no comparision. Represents NotBetween operator of conditional format and data validation. Represents NotEqual operator of conditional format and data validation. Represents an outline on a worksheet. Indicates if the summary row will be positioned below the detail rows in the outline. Indicates if the summary column will be positioned to the right of the detail columns in the outline. Represents print orientation constants. Landscape orientation Portrait orientation Encapsulates the object that represents the page setup description. The PageSetup object contains all page setup options. [C#] sheet.PageSetup.PrintArea = "D1:K13"; sheet.PageSetup.PrintTitleRows = "$5:$7"; sheet.PageSetup.PrintTitleColumns = "$A:$B"; [Visual Basic] sheet.PageSetup.PrintArea = "D1:K13" sheet.PageSetup.PrintTitleRows = "$5:$7" sheet.PageSetup.PrintTitleColumns = "$A:$B" Represents the range to be printed. Represents the columns that contain the cells to be repeated on the left side of each page. [C#] sheet.PageSetup.PrintTitleColumns = "$A:$A"; [Visula Basic] sheet.PageSetup.PrintTitleColumns = "$A:$A" Represents the rows that contain the cells to be repeated at the top of each page. [C#] sheet.PageSetup.PrintTitleRows = "$1:$1"; [Visula Basic] sheet.PageSetup.PrintTitleRows = "$1:$1" Represents if elements of the document will be printed in black and white. Represent if the sheet is printed centered horizontally. Represent if the sheet is printed centered vertically. Represents if the sheet will be printed without graphics. Represents the distance from the bottom of the page to the footer, in unit of centimeters. Represents the distance from the bottom of the page to the footer, in unit of inches. Represents the distance from the top of the page to the header, in unit of centimeters. Represents the distance from the top of the page to the header, in unit of inches. Represents the size of the left margin, in unit of centimeters. Represents the size of the left margin, in unit of inches. Represents the size of the right margin, in unit of centimeters. Represents the size of the right margin, in unit of inches. Represents the size of the top margin, in unit of centimeters. Represents the size of the top margin, in unit of inches. Represents the size of the bottom margin, in unit of centimeters. Represents the size of the bottom margin, in unit of inches. Represents the first page number that will be used when this sheet is printed. Represents the number of pages tall the worksheet will be scaled to when it's printed. Represents the number of pages wide the worksheet will be scaled to when it's printed. If this property is False, the FitToPagesWide and FitToPagesTall properties control how the worksheet is scaled. Represents the order that Microsoft Excel uses to number pages when printing a large worksheet. Represents the size of the paper. Represents the width in inches of the paper, considered page orientation. Represents the height in inches of the paper, considered page orientation. Represents page print orientation. Represents the way comments are printed with the sheet. Specifies the type of print error displayed. Represents if row and column headings are printed with this page. Represents if cell gridlines are printed on the page. Represents the scaling factor in percent. It should be between 10 and 400. Indicates whether the first the page number is automatically assigned. Represents the print quality. Get and sets number of copies to print. Clears header and footer setting. Gets a script formatting the header of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Gets all commands of header or footer. The header/footer script Returns all commands of header or footer. Gets a script formatting the footer of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Sets a script formatting the header of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Header format script.

Script commands:

Command ¡¡ Description ¡¡
&P Current page number¡¡
&N Page count¡¡
&D Current date¡¡
&T Current time
&A Sheet name
&F File name without path
&"<FontName>" Font name, for exampe: &"Arial"
&"<FontName>, <FontStyle>" Font name and font style, for exampe: &"Arial,Bold"
&<FontSize> Font size. If this command is followed by a plain number to be printed in the header, it will be separated from the font height with a space character.
&"<K" Font color, for exampe(RED): &FF0000
&G Image script
For example: "&Arial,Bold&8Header Note"
Sets a script formatting the footer of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Footer format script.

Script commands:

Command ¡¡ Description ¡¡
&P Current page number¡¡
&N Page count¡¡
&D Current date¡¡
&T Current time
&A Sheet name
&F File name without path
&"<FontName>" Font name, for exampe: &"Arial"
&"<FontName>, <FontStyle>" Font name and font style, for exampe: &"Arial,Bold"
&<FontSize> Font size. If this command is followed by a plain number to be printed in the header, it will be separated from the font height with a space character.
&G Image script
For example: "&Arial,Bold&8Footer Note"
Sets a script formatting the even page header of an Excel file. Only effect in Excel 2007 when IsHFDiffOddEven is true.

0:Left Section.

1:Center Section

2:Right Section

Header format script.
Gets a script formatting the even header of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Sets a script formatting the even page footer of an Excel file. Only effect in Excel 2007 when IsHFDiffOddEven is true.

0:Left Section.

1:Center Section

2:Right Section

Footer format script.
Gets a script formatting the even footer of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Sets a script formatting the first page header of an Excel file. Only effect in Excel 2007 when IsHFDiffFirst is true.

0:Left Section.

1:Center Section

2:Right Section

Header format script.
Gets a script formatting the first page header of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Sets a script formatting the first page footer of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

Footer format script.
Gets a script formatting the first page footer of an Excel file.

0:Left Section.

1:Center Section

2:Right Section

True means that the header/footer of the odd pages is different with odd pages. Indicates whether header and footer are scaled with document scaling. Only applies for Excel 2007. Indicates whether header and footer margins are aligned with the page margins. Only applies for Excel 2007. Represents all Pane objects shown in the specified window. Gets and sets the first visible row of the bottom pane. Gets and sets the first visible column of the right pane. Represents paper size constants. Letter (8-1/2 in. x 11 in.) Letter Small (8-1/2 in. x 11 in.) Tabloid (11 in. x 17 in.) Ledger (17 in. x 11 in.) Legal (8-1/2 in. x 14 in.) Statement (5-1/2 in. x 8-1/2 in.) Executive (7-1/4 in. x 10-1/2 in.) A3 (297 mm x 420 mm) A4 (210 mm x 297 mm) A4 Small (210 mm x 297 mm) A5 (148 mm x 210 mm) JIS B4 (257 mm x 364 mm) JIS B5 (182 mm x 257 mm) Folio (8-1/2 in. x 13 in.) Quarto (215 mm x 275 mm) 10 in. x 14 in. 11 in. x 17 in. Note (8-1/2 in. x 11 in.) Envelope #9 (3-7/8 in. x 8-7/8 in.) Envelope #10 (4-1/8 in. x 9-1/2 in.) Envelope #11 (4-1/2 in. x 10-3/8 in.) Envelope #12 (4-1/2 in. x 11 in.) Envelope #14 (5 in. x 11-1/2 in.) C size sheet D size sheet E size sheet Envelope DL (110 mm x 220 mm) Envelope C5 (162 mm x 229 mm) Envelope C3 (324 mm x 458 mm) Envelope C4 (229 mm x 324 mm) Envelope C6 (114 mm x 162 mm) Envelope C65 (114 mm x 229 mm) Envelope B4 (250 mm x 353 mm) Envelope B5 (176 mm x 250 mm) Envelope B6 (176 mm x 125 mm) Envelope Italy (110 mm x 230 mm) Envelope Monarch (3-7/8 in. x 7-1/2 in.) Envelope (3-5/8 in. x 6-1/2 in.) U.S. Standard Fanfold (14-7/8 in. x 11 in.) German Standard Fanfold (8-1/2 in. x 12 in.) German Legal Fanfold (8-1/2 in. x 13 in.) B4 (ISO) 250 x 353 mm Japanese Postcard (100mm ¡Á 148mm) 9? ¡Á 11? 10? ¡Á 11? 15? ¡Á 11? Envelope Invite(220mm ¡Á 220mm) US Letter Extra 9 \275 x 12 in US Legal Extra 9 \275 x 15 in US Tabloid Extra 11.69 x 18 in A4 Extra 9.27 x 12.69 in Letter Transverse 8 \275 x 11 in A4 Transverse 210 x 297 mm Letter Extra Transverse 9\275 x 12 in SuperA/SuperA/A4 227 x 356 mm SuperB/SuperB/A3 305 x 487 mm US Letter Plus 8.5 x 12.69 in A4 Plus 210 x 330 mm A5 Transverse 148 x 210 mm B5 (JIS) Transverse 182 x 257 mm A3 Extra 322 x 445 mm A5 Extra 174 x 235 mm B5 (ISO) Extra 201 x 276 mm A2 420 x 594 mm A3 Transverse 297 x 420 mm A3 Extra Transverse 322 x 445 mm Japanese Double Postcard 200 x 148 mm A6 105 x 148 mm Japanese Envelope Kaku #2 Japanese Envelope Kaku #3 Japanese Envelope Chou #3 Japanese Envelope Chou #4 11in ¡Á 8.5in 420mm ¡Á 297mm 297mm ¡Á 210mm 210mm ¡Á 148mm B4 (JIS) Rotated 364 x 257 mm B5 (JIS) Rotated 257 x 182 mm Japanese Postcard Rotated 148 x 100 mm Double Japanese Postcard Rotated 148 x 200 mm A6 Rotated 148 x 105 mm Japanese Envelope Kaku #2 Rotated Japanese Envelope Kaku #3 Rotated Japanese Envelope Chou #3 Rotated Japanese Envelope Chou #4 Rotated B6 (JIS) 128 x 182 mm B6 (JIS) Rotated 182 x 128 mm 12 x 11 in Japanese Envelope You #4 Japanese Envelope You #4 Rotated PRC 16K 146 x 215 mm PRC 32K 97 x 151 mm PRC 32K(Big) 97 x 151 mm PRC Envelope #1 102 x 165 mm PRC Envelope #2 102 x 176 mm PRC Envelope #3 125 x 176 mm PRC Envelope #4 110 x 208 mm PRC Envelope #5 110 x 220 mm PRC Envelope #6 120 x 230 mm PRC Envelope #7 160 x 230 mm PRC Envelope #8 120 x 309 mm PRC Envelope #9 229 x 324 mm PRC Envelope #10 324 x 458 mm PRC 16K Rotated PRC 32K Rotated PRC 32K(Big) Rotated PRC Envelope #1 Rotated 165 x 102 mm PRC Envelope #2 Rotated 176 x 102 mm PRC Envelope #3 Rotated 176 x 125 mm PRC Envelope #4 Rotated 208 x 110 mm PRC Envelope #5 Rotated 220 x 110 mm PRC Envelope #6 Rotated 230 x 120 mm PRC Envelope #7 Rotated 230 x 160 mm PRC Envelope #8 Rotated 309 x 120 mm PRC Envelope #9 Rotated 324 x 229 mm PRC Envelope #10 Rotated 458 x 324 mm usual B3(13.9 x 19.7 in) Business Card(90mm x 55 mm) Thermal(3 x 11 in) Represents the way comments are printed with the sheet. Represents to print comments as displayed on sheet. Represents not to print comments. Represents to print comments at end of sheet. Represents print errors constants. Represents not to print errors. Represents to print errors as "--". Represents to print errors as displayed. Represents to print errors as "#N/A". Represent print order constants. Down, then over Over, then down Represents the printed chart size. Use full page. Scale to fit page. InnerCustom. Represents the various types of protection options available for a worksheet. Only used in ExcelXP and above version. [C#] //Allowing users to select locked cells of the worksheet worksheet.Protection.AllowSelectingLockedCell = true; //Allowing users to select unlocked cells of the worksheet worksheet.Protection.AllowSelectingUnlockedCell = true; [Visual Basic] 'Allowing users to select locked cells of the worksheet worksheet.Protection.AllowSelectingLockedCell = True 'Allowing users to select unlocked cells of the worksheet worksheet.Protection.AllowSelectingUnlockedCell = True Copy protection info. Represents if the deletion of columns is allowed on a protected worksheet. The columns containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. Represents if the deletion of columns is allowed on a protected worksheet. The columns containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. NOTE: This member is now obsolete. Instead, please use Protection.AllowDeletingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the deletion of rows is allowed on a protected worksheet. The rows containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. Represents if the deletion of rows is allowed on a protected worksheet. The rows containing the cells to be deleted must be unlocked when the sheet is protected, and "Select unlocked cells" option must be enabled. NOTE: This member is now obsolete. Instead, please use Protection.AllowDeletingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. Represents if the user is allowed to make use of an AutoFilter that was created before the sheet was protected. NOTE: This member is now obsolete. Instead, please use Protection.AllowFiltering property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the formatting of cells is allowed on a protected worksheet. Represents if the formatting of cells is allowed on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the formatting of columns is allowed on a protected worksheet Represents if the formatting of columns is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the formatting of rows is allowed on a protected worksheet Represents if the formatting of rows is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowFormattingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the insertion of columns is allowed on a protected worksheet Represents if the insertion of columns is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingColumn property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the insertion of hyperlinks is allowed on a protected worksheet Represents if the insertion of hyperlinks is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingHyperlink property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the insertion of rows is allowed on a protected worksheet Represents if the insertion of rows is allowed on a protected worksheet NOTE: This member is now obsolete. Instead, please use Protection.AllowInsertingRow property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the sorting option is allowed on a protected worksheet. Represents if the sorting option is allowed on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSorting property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to manipulate pivot tables on a protected worksheet. Represents if the user is allowed to manipulate pivot tables on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowUsingPivotTable property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to edit contents of locked cells on a protected worksheet. Represents if the user is allowed to edit contents of locked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingContent property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to manipulate drawing objects on a protected worksheet. Represents if the user is allowed to manipulate drawing objects on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingObject property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to edit scenarios on a protected worksheet. Represents if the user is allowed to edit scenarios on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowEditingScenario property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents the password to protect the worksheet. If password is set to null or blank string, you can unprotect the worksheet or workbook without using a password. Otherwise, you must specify the password to unprotect the worksheet or workbook. Gets the hash of current password. Indicates whether the worksheets is protected with password. Verifies password. The password. Represents if the user is allowed to select locked cells on a protected worksheet. Represents if the user is allowed to select locked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSelectingLockedCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents if the user is allowed to select unlocked cells on a protected worksheet. Represents if the user is allowed to select unlocked cells on a protected worksheet. NOTE: This member is now obsolete. Instead, please use Protection.AllowSelectingUnlockedCell property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced. Represents workbook/worksheet protection type. Represents to protect all. Represents to protect contents, used in Worksheet protection. Represents to protect objects, used in Worksheet protection. Represents to protect scenarios, used in Worksheet protection. Represents to protect structure, used in Workbook protection. Represents to protect window, used in Workbook protection. Represents no protection. Only for Reading property. Encapsulates the object that represents a range of cells within a spreadsheet. Gets the cells enumerator The cells enumerator Indicates whether the range is intersect. The range. Whether the range is intersect. If the two rangs are not in the same worksheet, return false. Returns a Range object that represents the rectangular intersection of two ranges. The intersecting range. a Range object If the two ranges are not intersected, returns null. Returns the union of two ranges. The range The union of two ranges. Gets the count of rows in the range. Gets the count of columns in the range. Gets or sets the name of the range. Named range is supported. For example,

range.Name = "Sheet1!MyRange";

Gets the range's refers to. Gets the index of the first row of the range. Gets the index of the first column of the range. Combines a range of cells into a single cell. Reference the merged cell via the address of the upper-left cell in the range. Unmerges merged cells of this range. Puts a value into the range, if appropriate the value will be converted to other data type and cell's number format will be reset. Input value True: converted to other data type if appropriate. True: set the number format to cell's style when converting to other data type Gets and sets the value of the range. If the range contains multiple cells, return a two-dimension object. If applies object array to the range, it should be a two-dimension object. Applies formats for a whole range. The style object which will be applied. Flags which indicates applied formatting properties. Each cell in this range will contains a object. So this is a memory-consuming method. Please use it carefully. Sets the style of the range. The Style object. Sets the outline borders around a range of cells with same border style and color. Border style. Border color. Sets out line borders around a range of cells. Border styles. Border colors. Both the length of borderStyles and borderStyles must be 4. The order of of borderStyles and borderStyles must be top,bottom,left,right Sets outline border around a range of cells. Border edge. Border style. Border color. Sets or gets the column width of this range Sets or gets the height of rows in this range Move the current range to the dest range. The start row of the dest range. The start column of the dest range. Copies cell data (including formulas) from a source range. Source object. Copies cell value from a source range. Source object. Copies style settings from a source range. Source object. Copying the range with paste special options. The soure range. The paste special options. Copies data (including formulas), formatting, drawing objects etc. from a source range. Source object. Gets object in this range. Row index in this range, zero based. Column index in this range, zero based. object. Gets object or null in this range. Row index in this range, zero based. Column index in this range, zero based. object. Gets the object which contains this range. Encapsulates a collection of objects. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Adds a item to the collection. Range object Represents a single row in a worksheet. Get the cell by specific index in the list. The position. The Cell object. NOTE: This member is now obsolete. Instead, please use Row.GetEnumerator() method to iterate all cells in this row. This property will be removed 12 months later since February 2015. Aspose apologizes for any inconvenience you may have experienced. Indicates whether the row contains any data Gets the cell. The column index Gets the cells enumerator The cells enumerator Gets the cell or null in the specific index. The column index Returns the cell object if the cell exists. Or returns null if the cell object does not exist. Gets and sets the row height in unit of Points. Indicates whether the row is hidden. Gets the index of this row. Gets the group level of the row. Indicates that row height and default font height matches Represents the style of this row. You have to call Row.ApplyStyle() method to save your changing with the row style, otherwise it will not effect. Gets the first cell in the row. Gets the last cell in the row. Gets the last cell in the row. Applies formats for a whole row. The style object which will be applied. Flags which indicates applied formatting properties. Checks whether this object refers to the same row with another row object. another row object true if two row objects refers to the same row. Collects the objects that represent the individual rows in a worksheet. Gets the number of rows in this collection. Gets an enumerator that iterates through this collection enumerator Gets the row object by the position in the list. The position. The Row object at given position. Gets a object by given row index. The Row object of given row index will be instantiated if it does not exist before. Clear all rows and cells. Remove the row at the specified index zero-based row index Represents all save options Gets the save file format. Make the workbook empty after saving the file. The cached file folder is used to store some large data. Indicates whether validate merged cells before saving the file. The default value is false. Indicates whether merge the areas of conditional formatting and validation before saving the file. The default value is false. If true and the directory does not exist, the directory will be automatically created before saving the file. The default value is false. Indicates whether sorting defined names before saving file. Indicates whether refreshing chart cache data The physical folder where images will be saved when exporting a workbook to Aspose.Pdf XML format. Default is an empty string. Indicates if http compression is to be used in user's IIS. Please specify this property to true if http compression is used. Gets or sets warning callback. Enumerates spreadsheet creation and saving types. Writes the spreadsheet directly to the hard disk. Returns the spreadsheet as a stream of binary data and asks the user to either save or open it. Sends the spreadsheet to browser and opens it in browser. Specifies the worksheet type. Visual Basic module Chart BIFF4 Macro sheet Represent the shift options when deleting a range of cells. Shift cells down. Shift cells left. Do not shift cells. Shift cells right. Shift cells up. Represents sort order for the data range. Represents display style of excel document,such as font,color,alignment,border,etc. The Style object contains all style attributes (font, number format, alignment, and so on) as properties. There are two methods to set a cell's style. //First method [C#] int styleIndex = excel.CreateStyle(); Style style = excel.Styles[styleIndex]; style.Font.Name = "Times New Roman"; style.Font.Color = Color.Blue; for(int i = 0; i < 100; i ++) { excel.Worksheets[0].Cells[0, i].SetStyle(style); } //Second method [C#] Style style = excel.Worksheets[0].Cells["A1"].GetStyle(); style.Font.Name = "Times New Roman"; style.Font.Color = Color.Blue; excel.Worksheets[0].Cells["A1"].SetStyle(style); First method is a fast and efficient way to change several cell-formatting properties on multiple cells at the same time. If you want to change a single cell's style properties, second method can be used. Gets and sets the background theme color. If the background color is not a theme color, NULL will be returned. Gets and sets the foreground theme color. If the forground color is not a theme color, NULL will be returned. Gets or sets the name of the style. Gets or sets the cell background pattern type. Gets the of the style. Initializes a new instance of the class. NOTE: This constructor is now obsolete. Instead, please use CellsFactory.CreateStyle() method. This property will be removed 6 months later since October 2016. Aspose apologizes for any inconvenience you may have experienced. Gets or sets a style's background color. If you want to set a cell's color, please use Style.ForegroundColor property. Only if the cell style pattern is other than none or solid, this property will take effect. Gets and sets the background color with a 32-bit ARGB value. Gets or sets a style's foreground color. It means no color setting if Color.Empty is returned. Gets and sets the foreground color with a 32-bit ARGB value. Copies data from another style object Source Style object This method does not copy the name of the style. If you want to copy the name, please call the following codes after copying style: destStyle.Name = style.Name. Gets the parent style of this style. Apply the named style to the styles of the cells which use this named style. It works like clicking the "ok" button after you finished modifying the style. Only applies for named style. Checks whether the specified properties of the style have been modified. Used for style of ConditionalFormattings to check whether the specified properties of this style should be used when applying the ConditionalFormattings on a cell. Style modified flags true if the specified properties have been modified Determines whether two Style instances are equal. The Style object to compare with the current Style object. true if the specified Object is equal to the current Object; otherwise, false. Serves as a hash function for a Style object. A hash code for the current Object. This method is only for internal use. Represents the m_IndentLevel level for the cell or range. Can only be an integer from 0 to 15. If text horizontal alignment type is set to value other than left or right, m_IndentLevel level will be reset to zero. Gets a object. Represents text rotation angle.

0: Not rotated.

255: Top to Bottom.

-90: Downward.

90: Upward.

You can set 255 or value ranged from -90 to 90.
Represents text rotation angle.

0: Not rotated.

255: Top to Bottom.

-90: Downward.

90: Upward.

You can set 255 or value ranged from -90 to 90.
NOTE: This member is now obsolete. Instead, please use Style.RotationAngle property. This property will be removed 12 months later since June 2010. Aspose apologizes for any inconvenience you may have experienced.
Gets or sets the vertical alignment type of the text in a cell. Gets or sets the horizontal alignment type of the text in a cell. Gets or sets a value indicating whether the text within a cell is wrapped. Gets or sets the display format of numbers and dates.
Value ¡¡ Type ¡¡ Format String ¡¡
0 General General
1 Decimal 0
2 Decimal 0.00
3 Decimal #,##0
4 Decimal #,##0.00
5 Currency $#,##0;($#,##0)
6 Currency $#,##0;[Red]($#,##0)
7 Currency $#,##0.00;($#,##0.00)
8 Currency $#,##0.00;[Red]($#,##0.00)
9 Percentage 0%
10 Percentage 0.00%
11 Scientific 0.00E+00
12 Fraction # ?/?
13 Fraction # ??/??
14 Date m/d/yyyy
15 Date d-mmm-yy
16 Date d-mmm
17 Date mmm-yy
18 Time h:mm AM/PM
19 Time h:mm:ss AM/PM
20 Time h:mm
21 Time h:mm:ss
22 Time m/d/yyyy h:mm
37 Accounting #,##0;(#,##0)
38 Accounting #,##0;[Red](#,##0)
39 Accounting #,##0.00;(#,##0.00)
40 Accounting #,##0.00;[Red](#,##0.00)
41 Accounting _ * #,##0_ ;_ * (#,##0)_ ;_ * "-"_ ;_ @_
42 Currency _ $* #,##0_ ;_ $* (#,##0)_ ;_ $* "-"_ ;_ @_
43 Accounting _ * #,##0.00_ ;_ * (#,##0.00)_ ;_ * "-"??_ ;_ @_
44 Currency _ $* #,##0.00_ ;_ $* (#,##0.00)_ ;_ $* "-"??_ ;_ @_
45 Time mm:ss
46 Time [h]:mm:ss
47 Time mm:ss.0
48 Scientific ##0.0E+00
49 Text @
Sets the border of the style. Gets or sets a value indicating whether a cell can be modified or not. Locking cells has no effect unless the worksheet is protected. Sets the Custom number format string of a cell. _Custom number format string, should be InvariantCulture pattern. If given Custom number format string matches one of the built-in number formats corresponding to current regional settings, whether set the number format as built-in instead of _Custom. Represents the Custom number format string of a cell. If the Custom number format is not set, we will return "". It should be InvariantCulture . Gets and sets the culture Custom number format. Represents if the formula will be hidden when the worksheet is protected. Represents if text automatically shrinks to fit in the available column width. Represents text reading order. Indicates if the cells justified or distributed alignment should be used on the last line of text. This is typical for East Asian alignments but not typical in other contexts. Indicates whether the cell's value starts with single quote mark. Indicates whether the cell shading is a gradient pattern. Sets the specified fill to a two-color gradient. One gradient color. Two gradient color. Gradient shading style. The gradient variant. Can be a value from 1 through 4, corresponding to one of the four variants on the Gradient tab in the Fill Effects dialog box. If style is GradientStyle.FromCenter, the Variant argument can only be 1 or 2. Get the two-color gradient setting. One gradient color. Two gradient color. Gradient shading style. The gradient variant. Indicates whether the number format is a percent format. Indicates whether the number format is a date format. Represents flags which indicates applied formatting properties. All properties will be applied. All borders settings will be applied. Left border settings will be applied. Right border settings will be applied. Top border settings will be applied. Bottom border settings will be applied. Diagonal down border settings will be applied. Diagonal up border settings will be applied. Font settings will be applied. Font size setting will be applied. Font name setting will be applied. Font color setting will be applied. Font bold setting will be applied. Font italic setting will be applied. Font underline setting will be applied. Font strikeout setting will be applied. Font script setting will be applied. Number format setting will be applied. Horizontal alignment setting will be applied. Vertical alignment setting will be applied. Indent level setting will be applied. Rotation setting will be applied. Wrap text setting will be applied. Shrink to fit setting will be applied. Text direction setting will be applied. Cell shading setting will be applied. Locked setting will be applied. Hide formula setting will be applied. The style mofied flags. Only for dynamic style,such as conditional formatting. Only for dynamic style,such as conditional formatting. NOTE: This member is now obsolete. Instead, please use FontScript. This property will be removed 12 months later since August 2012. Aspose apologizes for any inconvenience you may have experienced. NOTE: This member is now obsolete. Instead, please use FontScript. This property will be removed 12 months later since August 2012. Aspose apologizes for any inconvenience you may have experienced. Includes horizontal/vertical Alignment, rotation,wrap Text,indent,shrinkToFit,Text Direction unused. unused. unused. unused. unused. unused. unused. unused. Enumerates text alignment types. Represents bottom text alignment. Represents center text alignment. Represents center across text alignment. Represents distributed text alignment. Represents fill text alignment. Represents general text alignment. Represents justify text alignment. Represents left text alignment. Represents right text alignment. Represents top text alignment. Aligns the text with an adjusted kashida length for Arabic text. Distributes Thai text specially, because each character is treated as a word. Represents the direction of the text flow for this paragraph. Enumerates text orientation types. text is rotated 90 degrees clockwise text is rotated 90 degrees counterclockwise Represents the default value. Displays text from top to bottom of the cell. Stacked text. Represents a theme color. [C#] //Instantiating a Workbook object Workbook workbook = new Workbook(); Cells cells = workbook.Worksheets[0].Cells; cells["A1"].PutValue("Hello World"); Style style = cells["A1"].GetStyle(); //Set ThemeColorType.Text2 color type with 40% lighten as the font color. style.Font.ThemeColor = new ThemeColor(ThemeColorType.Text2, 0.4); style.Pattern = BackgroundType.Solid; //Set ThemeColorType.Background2 color type with 75% darken as the foreground color style.ForegroundThemeColor = new ThemeColor(ThemeColorType.Background2, -0.75); cells["A1"].SetStyle(style); //Saving the Excel file workbook.Save("C:\\book1.xlsx"); [Visual Basic] 'Instantiating a Workbook object Dim workbook As Workbook = New Workbook() Dim cells As Cells = workbook.Worksheets(0).Cells cells("A1").PutValue("Hello World") 'Get the cell style Dim style As Style = cells("A1").GetStyle() 'Set ThemeColorType.Text2 color type with 40% lighten as the font color. Style.Font.ThemeColor = New ThemeColor(ThemeColorType.Text2, 0.4) Style.Pattern = BackgroundType.Solid 'Set ThemeColorType.Background2 color type with 75% darken as the foreground color style.ForegroundThemeColor = New ThemeColor(ThemeColorType.Background2, -0.75) 'Set the cell style cells("A1").SetStyle(style) 'Saving the Excel file Workbook.Save("C:\\book1.xlsx") The theme type. The tint value. Gets and sets the theme type. Gets and sets the tint value. The tint value is stored as a double from -1.0 .. 1.0, where -1.0 means 100% darken and 1.0 means 100% lighten. Also, 0.0 means no change. Enumerates the theme color types. Inner used. A color used in theme definitions which means to use the color of the style. Represents data validation.settings. [C#] Workbook workbook = new Workbook(); ValidationCollection validations = workbook.Worksheets[0].Validations; Validation validation = validations[validations.Add()]; validation.Type = Aspose.Cells.ValidationType.WholeNumber; validation.Operator = OperatorType.Between; validation.Formula1 = "3"; validation.Formula2 = "1234"; CellArea area; area.StartRow = 0; area.EndRow = 1; area.StartColumn = 0; area.EndColumn = 1; validation.AreaList.Add(area); [Visual Basic] Dim workbook as Workbook = new Workbook() Dim validations as ValidationCollection = workbook.Worksheets(0).Validations Dim validation as Validation = validations(validations.Add()) validation.Type = ValidationType.WholeNumber validation.Operator = OperatorType.Between validation.Formula1 = "3" validation.Formula2 = "1234" Dim area as CellArea area.StartRow = 0 area.EndRow = 1 area.StartColumn = 0 area.EndColumn = 1 validation.AreaList.Add(area) Represents the operator for the data validation. Represents the validation alert style. Represents the data validation type. Represents the data validation input message. Represents the title of the data-validation input dialog box. Represents the data validation error message. Represents the title of the data-validation error dialog box. Indicates whether the data validation input message will be displayed whenever the user selects a cell in the data validation range. Indicates whether the data validation error message will be displayed whenever the user enters invalid data. Indicates whether blank values are permitted by the range data validation. Represents the value or expression associated with the data validation. Represents the first value associated with the data validation. Represents the first value associated with the data validation. Represents the value or expression associated with the second part of the data validation. Indicates whether data validation displays a drop-down list that contains acceptable values. Represents a collection of which contains the data validation settings. The old validations on the area will not be removed if directly adding are to this list. Applies the validation to the area. The area. In this method , we will remove all old validations on this area. Remove the validation settings in the range. The range which contains the data validation settings. Remove the validation settings in the cell. The row index. The column index. Represents the data validation alert style. Information alert style. Stop alert style. Warning alert style. Represents data validation collection. Adds a data validation to the collection. object index. NOTE: This member is now obsolete. Instead, please use ValidationCollection.Add(CellArea) method. This property will be removed 12 months later since JANUARY 2015. Aspose apologizes for any inconvenience you may have experienced. Adds a data validation to the collection. The area contains this validation. object index. Add a to the collection. A validation object. object index. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Removes all validation setting on the cell. The row index of the cell. The column index of the cell. Removes all validation setting on the range.. The range which contains the validations setting. Gets the validation applied to given cell. The row index. The column index. Returns a object or null if there is no validation for given cell Represents data validation type. Any value validation type. Whole number validation type. Decimal validation type. List validation type. Date validation type. Time validation type. Text length validation type. InnerCustom validation type. Represents the view type of the worksheet. Encapsulates the object that represents a vertical page break. [C#] //Add a pagebreak at G5 excel.Worksheets[0].HorizontalPageBreaks.Add("G5"); excel.Worksheets[0].VerticalPageBreaks.Add("G5"); [VB] 'Add a pagebreak at G5 excel.Worksheets(0).HorizontalPageBreaks.Add("G5") excel.Worksheets(0).VerticalPageBreaks.Add("G5") Gets the start row index of the vertical page break. Gets the end row index of the vertical page break. Gets the column index of the vertical page break. Encapsulates a collection of objects. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element with the specified cell name. Cell name. The element with the specified cell name. Adds a vertical page break to the collection. Start row index, zero based. End row index, zero based. Column index, zero based. object index. This method is used to add a vertical pagebreak within a print area. Adds a vertical page break to the collection. Cell column index, zero based. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Adds a vertical page break to the collection. Cell row index, zero based. Cell column index, zero based. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Adds a vertical page break to the collection. Cell name. object index. Page break is added in the top left of the cell. Please set a horizontal page break and a vertical page break concurrently. Removes the VPageBreak element at a specified name. Element index, zero based. Represents the states for sheet visibility. Indicates the sheet is hidden, but can be shown by the user via the user interface. Indicates the sheet is hidden and cannot be shown in the user interface (UI). This state is only available programmatically. Indicates the sheet is visible. Represents all settings of the workbook. Enable macros; Now it only works when copying a worksheet to other worksheet in a workbook. Indicates whether checking custom number format when setting Style.Custom. Gets or sets a value which represents if the workbook uses the 1904 date system. Gets the protection type of the workbook. True if calculations in this workbook will be done using only the precision of the numbers as they're displayed Indicates whether re-calculate all formulas on opening file. Indicates whether create calculated formulas chain. Indicates whether and how to show objects in the workbook. Indicates if Aspose.Cells will use iteration to resolve circular references. Returns or sets the maximum number of iterations that Aspose.Cells can use to resolve a circular reference. Returns or sets the maximum number of change that Microsoft Excel can use to resolve a circular reference. It specifies whether to calculate formulas manually, automatically or automatically except for multiple table operations. Specifies the version of the calculation engine used to calculate values in the workbook. Specifies the stack size for calculating cells recursively. The large value for this size will give better performance when there are lots of cells need to be calculated recursively. On the other hand, larger value will raise the risk of StackOverflowException. If user gets StackOverflowException when calculating formulas, this value should be decreased. Indicates whether to recalculate before saving the document. Width of worksheet tab bar (in 1/1000 of window width). Get or sets a value whether the Workbook tabs are displayed. The default value is true. The following code hides the Sheet Tabs and Tab Scrolling Buttons for the spreadsheet. [C#] // Hide the spreadsheet tabs. workbook.ShowTabs = false; [Visual Basic] ' Hide the spreadsheet tabs. workbook.ShowTabs = False Gets or sets the first visible worksheet tab. Gets or sets a value indicating whether the generated spreadsheet will contain a horizontal scroll bar. The default value is true. The following code makes the horizontal scroll bar invisible for the spreadsheet. [C#] // Hide the horizontal scroll bar of the Excel file. workbook.IsHScrollBarVisible = false; [Visual Basic] ' Hide the horizontal scroll bar of the Excel file. workbook.IsHScrollBarVisible = False Gets or sets a value indicating whether the generated spreadsheet will contain a vertical scroll bar. The default value is true. The following code makes the vertical scroll bar invisible for the spreadsheet. [C#] // Hide the vertical scroll bar of the Excel file. workbook.IsVScrollBarVisible = false; [Visual Basic] ' Hide the vertical scroll bar of the Excel file. workbook.IsVScrollBarVisible = False Gets or sets a value that indicates whether the Workbook is shared. The default value is false. Gets or sets the user interface language of the Workbook version based on CountryCode that has saved the file. Gets or sets the regional settings for workbook. 1. Regional settings used by Aspose.Cells component for a workbook loaded from template file: i). For an XLS file, there are fields defined for regional settings and MS Excel does save regional settings data into the file when saving the XLS file. So, we use the saved region in the template file for the workbook. If you do not want to use the region saved in the XLS file, please reset it to the expected one (such as, CountryCode.Default) after loading the template file. And, we save the user specified value (by this method) into the file too when saving an XLS file. ii). For other file formats, such as, XLSX, XLSB...etc., there is no field defined for regional settings in the file format specification. So, we use the regional settings of application's environment for the workbook. And, the user specified value (by this method) cannot be kept for the generated files with those file formats. 2. For the view effect in MS Excel: The applied regional settings here can take effect only at runtime with Aspose.Cells component and not when viewing the generated file with MS Excel. Even for the generated XLS file in which the specified regional settings data has been saved, when viewing/editing it with MS Excel, the used region to perform formatting by MS Excel is always the default regional settings of the environment where MS Excel is running, not the one saved in the file. It is MS Excel's behavior and cannot be changed by code. Gets or sets the system culture info. Returns null if culture info is not set and is not set. Gets and sets the globalization settings. Gets or sets the decimal separator for formatting/parsing numeric values. Default is the decimal separator of current Region. Gets or sets the character that separates groups of digits to the left of the decimal in numeric values. Default is the group separator of current Region. Represents Workbook file encryption password. Provides access to the workbook write protection options. Indicates if the Read Only Recommended option is selected. NOTE: This member is now obsolete. Instead, please use WorkbookSettings.WriteProtection.RecommendReadOnly property. This property will be removed 12 months later since October 2015. Aspose apologizes for any inconvenience you may have experienced. Indicates whether this workbook is write protected. NOTE: This member is now obsolete. Instead, please use WorkbookSettings.WriteProtection.IsWriteProtected property. This property will be removed 12 months later since October 2015. Aspose apologizes for any inconvenience you may have experienced. Sets the protected password to modify the file. NOTE: This member is now obsolete. Instead, please use WorkbookSettings.WriteProtection.Password property. This property will be removed 12 months later since October 2015. Aspose apologizes for any inconvenience you may have experienced. Gets a value that indicates whether a password is required to open this workbook. Gets a value that indicates whether the structure or window of the Workbook is protected. Indicates whether encrypting the workbook with default password if Structure and Windows of the workbook are locked. The default value is false now. It's same as MS Excel 2013. Represents whether the generated spreadsheet will be opened Minimized. Indicates whether this workbook is hidden. Specifies a boolean value that indicates the application automatically compressed pictures in the workbook. True if personal information can be removed from the specified workbook. Gets and sets whether hide the field list for the PivotTable. Gets and sets how updates external links when the workbook is opened. Indicates whether parsing the formula when reading the file. Only applies for Excel Xlsx, Xltx, Xltm and Xlsm file because the formulas in the files are stored with a string formula. The distance from the left edge of the client area to the left edge of the window, in unit of point. The distance from the left edge of the client area to the left edge of the window. In unit of inch. The distance from the left edge of the client area to the left edge of the window. In unit of centimeter. The distance from the top edge of the client area to the top edge of the window, in unit of point. The distance from the top edge of the client area to the top edge of the window, in unit of inch. The distance from the top edge of the client area to the top edge of the window, in unit of centimeter. The width of the window, in unit of point. The width of the window, in unit of inch. The width of the window, in unit of centimeter. The height of the window, in unit of point. The height of the window, in unit of inch. The height of the window, in unit of centimeter. Indicates whether update adjacent cells' border. The default value is false. For example: the bottom border of the cell A1 is update, the top border of the cell A2 should be changed too. Indicates whether check compatiliblity when saving workbook. The default value is true. NOTE: This member is now obsolete. Instead, please use CheckCompatibility. This property will be removed 12 months later since November 2016. Aspose apologizes for any inconvenience you may have experienced. Indicates whether check compatiliblity when saving workbook. The default value is true. Whether check restriction of excel file when user modify cells related objects. For example, excel does not allow inputting string value longer than 32K. When you input a value longer than 32K such as by Cell.PutValue(string), if this property is true, you will get an Exception. If this property is false, we will accept your input string value as the cell's value so that later you can output the complete string value for other file formats such as CSV. However, if you have set such kind of value that is invalid for excel file format, you should not save the workbook as excel file format later. Otherwise there may be unexpected error for the generated excel file. Indicates whether the file is mark for auto-recovery. indicates whether the application last saved the workbook file after a crash. indicates whether the application last opened the workbook for data recovery. Indicates whether the application last opened the workbook in safe or repair mode. Specifies the incremental public release of the application. Gets or sets the memory usage options. The new option will be taken as the default option for newly created worksheets but does not take effect for existing worksheets. Gets and sets the default print paper size. If there is no setting about paper size,MS Excel will use default printer's setting. Gets or sets warning callback. Encapsulates the object that represents a single worksheet. [C#] Workbook workbook = new Workbook(); Worksheet sheet = workbook.Worksheets[0]; //Freeze panes at "AS40" with 10 rows and 10 columns sheet.FreezePanes("AS40", 10, 10); //Add a hyperlink in Cell A1 sheet.Hyperlinks.Add("A1", 1, 1, "http://www.aspose.com"); [Visual Basic] Dim workbook as Workbook = new Workbook() Dim sheet as Worksheet = workbook.Worksheets(0) 'Freeze panes at "AS40" with 10 rows and 10 columns sheet.FreezePanes("AS40", 10, 10) 'Add a hyperlink in Cell A1 sheet.Hyperlinks.Add("A1", 1, 1, "http://www.aspose.com") Represents the various types of protection options available for a worksheet. Supports advanced protection options in ExcelXP and above version. This property can protect worksheet in all versions of Excel file and support advanced protection options in ExcelXP and above version. Gets the window panes. If the window is not splitted or frozen. Gets the workbook object which contains this sheet. Gets the collection. Gets the queryTables in the worksheet. Gets all pivot tables in this worksheet. Represents worksheet type. Gets or sets the name of the worksheet. The max length of sheet name is 31. And you cannot assign same name(case insensitive) to two worksheets. For example, you cannot set "SheetName1" to the first worksheet and set "SHEETNAME1" to the second worksheet. Indicates whether to show formulas or their results. Gets or sets a value indicating whether the gridelines are visible.Default is true. Gets or sets a value indicating whether the worksheet will display row and column headers. Default is true. True if zero values are displayed. Indicates if the specified worksheet is displayed from right to left instead of from left to right. Default is false. Indicates whether to show outline. Indicates whether this worksheet is selected when the workbook is opened. Freezes panes at the specified cell in the worksheet. Row index. Column index. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index.

Row index and column index cannot all be zero. Number of rows and number of columns also cannot all be zero.

The first two parameters specify the freezed position and the last two parameters specify the area freezed on the left top pane.

Gets the freeze panes. Row index. Column index. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index. Return whether the worksheet is frozen Splits window. Freezes panes at the specified cell in the worksheet. Cell name. Number of visible rows in top pane, no more than row index. Number of visible columns in left pane, no more than column index. Row index and column index cannot all be zero. Number of rows and number of columns also cannot all be zero. Unfreezes panes in the worksheet. Removes splitted window. Gets all ListObjects in this worksheet. Gets the collection. Gets the collection. Adds page break. Gets the collection. Copies contents and formats from another worksheet. Source worksheet. Copies contents and formats from another worksheet. Source worksheet. You can copy data from another worksheet in the same file or another file. However, this method does not support to copy drawing objects, such as comments, images and charts. Represents the page setup description in this sheet. Represents auto filter for the specified worksheet. Removes the auto filter of the worksheet. Indicates whether this worksheet has auto filter. Indicates whether the Transition Formula Evaluation (Lotus compatibility) option is enabled. Indicates whether the Transition Formula Entry (Lotus compatibility) option is enabled. Indicates the visible state for this sheet. Sets the visible options. Whether the worksheet is visible Whether to ignore error if this option is not valid. Represents if the worksheet is visible. Selects a range. The start row. The start column The number of rows. The number of columns True means removing other selected range and only select this range. Removes all drawing objects in this worksheet. Clears all comments in designer spreadsheet. Protects worksheet. Protection type. This method protects worksheet without password. It can protect worksheet in all versions of Excel file. Protects worksheet. Protection type. Password. If the worksheet is already protected by a password, please supply the old password. Otherwise, you can set a null value or blank string to this parameter. This method can protect worksheet in all versions of Excel file. [C#] //Creating a file stream containing the Excel file to be opened FileStream fstream = new FileStream("C:\\book1.xls", FileMode.Open); //Instantiating a Workbook object and Opening the Excel file through the file stream Workbook excel = new Workbook(fstream); //Accessing the first worksheet in the Excel file Worksheet worksheet = excel.Worksheets[0]; //Protecting the worksheet with a password worksheet.Protect(ProtectionType.All, "aspose", null); //Saving the modified Excel file in default (that is Excel 20003) format excel.Save("C:\\output.xls"); //Closing the file stream to free all resources fstream.Close(); [Visual Basic] 'Creating a file stream containing the Excel file to be opened Dim fstream As FileStream = New FileStream("C:\\book1.xls", FileMode.Open) 'Instantiating a Workbook object and Opening the Excel file through the file stream Dim excel As Workbook = New Workbook(fstream) 'Accessing the first worksheet in the Excel file Dim worksheet As Worksheet = excel.Worksheets(0) 'Protecting the worksheet with a password worksheet.Protect(ProtectionType.All, "aspose", DBNull.Value.ToString()) 'Saving the modified Excel file in default (that is Excel 20003) format excel.Save("C:\\output.xls") 'Closing the file stream to free all resources fstream.Close() Unprotects worksheet. This method unprotects worksheet which is protected without password. Unprotects worksheet. Password If the worksheet is protected without a password, you can set a null value or blank string to password parameter. Gets the index of sheet in the worksheet collection. Moves the sheet to another location in the spreadsheet. Destination sheet index. Indicates if the worksheet is protected. Gets the data validation setting collection in the worksheet. Gets the allow edit range collection in the worksheet. Gets error check setting applied on certain ranges. Gets the outline on this worksheet. Represents first visible row index. Represents first visible column index. Replaces all cells' text with a new string. Old string value. New string value. Represents the scaling factor in percentage. It should be between 10 and 400. Please set the view type first. Gets and sets the view type. Indicates whether the specified worksheet is shown in normal view or page break preview. Indicates whether the ruler is visible. This property is only applied for page break preview. Gets selected ranges of cells in the designer spreadsheet. An which contains selected ranges. Represents worksheet tab color. This feature is only supported in ExcelXP(Excel2002) and later versions. If you save file as Excel97 or Excel2000 format, it will be omitted. Gets and sets worksheet code name. Sets worksheet background image. Picture data. NOTE: This member is now obsolete. Instead, please use Worksheet.BackgroundImage property. This property will be removed 12 months later since August 2016. Aspose apologizes for any inconvenience you may have experienced. Gets and sets worksheet background image. Gets the ConditionalFormattings in the worksheet. Gets or sets the active cell in the worksheet. Gets an object representing the identifier information associated with a worksheet. Worksheet.CustomProperties provide a preferred mechanism for storing arbitrary data. It supports legacy third-party document components, as well as those situations that have a stringent need for binary parts. Gets all objects of the worksheet. Gets the collection of . Calculates a formula. Formula to be calculated. Calculated formula result. Calculates a formula. Formula to be calculated. Options for calculating formula Calculated formula result. Refreshes all PivotTables in this Worksheet. Calculates all formulas in this worksheet. True means if the worksheet' cells depend on the cells of other worksheets, the dependant cells in other worksheets will be calculated too. False means all the formulas in the worksheet have been calculated and the values are right. Indicates if hide the error in calculating formulas. The error may be unsupported function, external links, etc. The custom formula calculation functions to extend the calculation engine. Calculates all formulas in this worksheet. Options for calculation True means if the worksheet' cells depend on the cells of other worksheets, the dependant cells in other worksheets will be calculated too. False means all the formulas in the worksheet have been calculated and the values are right. Encapsulates a collection of objects. [C#] Workbook workbook = new Workbook(); WorksheetCollection sheets = workbook.Worksheets; //Add a worksheet sheets.Add(); //Change the name of a worksheet sheets[0].Name = "First Sheet"; //Set the active sheet to the second worksheet sheets.SetActiveSheet(1); [Visual Basic] Dim excel as Workbook = new Workbook() Dim sheets as WorksheetCollection = excel.Worksheets 'Add a worksheet sheets.Add() 'Change the name of a worksheet sheets(0).Name = "First Sheet" 'Set the active sheet to the second worksheet sheets.SetActiveSheet(1) Indicates whether refresh all connections on opening file in MS Excel. Creates a object from an address of the range. The address of the range. The sheet index. A object Gets the collection of all the Name objects in the spreadsheet. Gets the element at the specified index. The zero based index of the element. The element at the specified index. Gets the element with the specified name. Worksheet name The element with the specified name. Gets the worksheet by the code name. Worksheet code name. The element with the specified code name. Represents the index of active worksheet when the spreadsheet is opened. Sheet index is zero based. Sorts defined names. If you create a large amount of named ranges in the Excel file, please call this method after all named ranges are created and before saving Insert a worksheet. The sheet index The sheet type. Returns an inserted worksheet. Insert a worksheet. The sheet index The sheet type. The sheet name. Returns an inserted worksheet. Adds a worksheet to the collection. Worksheet type. object index. [C#] Workbook workbook = new Workbook(); workbook.Worksheets.Add(SheetType.Chart); Cells cells = workbook.Worksheets[0].Cells; cells["c2"].PutValue(5000); cells["c3"].PutValue(3000); cells["c4"].PutValue(4000); cells["c5"].PutValue(5000); cells["c6"].PutValue(6000); Charts charts = workbook.Worksheets[1].Charts; int chartIndex = charts.Add(ChartType.Column, 10,10,20,20); Chart chart = charts[chartIndex]; chart.NSeries.Add("Sheet1!C2:C6", true); [Visual Basic] Dim workbook As Workbook = New Workbook() workbook.Worksheets.Add(SheetType.Chart) Dim cells As Cells = workbook.Worksheets(0).Cells cells("c2").PutValue(5000) cells("c3").PutValue(3000) cells("c4").PutValue(4000) cells("c5").PutValue(5000) cells("c6").PutValue(6000) Dim charts As Charts = workbook.Worksheets(1).Charts Dim chartIndex As Integer = charts.Add(ChartType.Column,10,10,20,20) Dim chart As Chart = charts(chartIndex) chart.NSeries.Add("Sheet1!C2:C6", True) Swaps the two sheets. The first worksheet. The second worksheet. Adds a worksheet to the collection. object index. Adds a worksheet to the collection. Worksheet name object. Removes the element at a specified name. The name of the element to remove. Removes the element at a specified index. The index value of the element to remove. Clear all worksheets. A workbook must contains a worksheet. Adds a worksheet to the collection and copies data from an existed worksheet. Name of source worksheet. object index. Specifies an invalid worksheet name. Adds a worksheet to the collection and copies data from an existed worksheet. Index of source worksheet. object index. Gets the master differential formatting records. Gets Range object by pre-defined name. Name of range. Range object.

Returns null if the named range does not exist.
Gets all pre-defined named ranges in the spreadsheet. An array of Range objects.

Returns null if the named range does not exist.
Gets all pre-defined named ranges in the spreadsheet. An array of Range objects.

Returns null if the named range does not exist.
Gets and sets the XML maps in the workbook. Returns a DocumentProperties collection that represents all the built-in document properties of the spreadsheet. A new property cannot be added to built-in document properties list. You can only get a built-in property and change its value. The following is the built-in properties name list:

Title

Subject

Author

Keywords

Comments

Template

Last Author

Revision Number

Application Name

Last Print Date

Creation Date

Last Save Time

Total Editing Time

Number of Pages

Number of Words

Number of Characters

Security

Category

Format

Manager

Company

Number of Bytes

Number of Lines

Number of Paragraphs

Number of Slides

Number of Notes

Number of Hidden Slides

Number of Multimedia Clips

[C#] DocumentProperty doc = workbook.Worksheets.BuiltInDocumentProperties["Author"]; doc.Value = "John Smith"; [Visual Basic] Dim doc as DocumentProperty = workbook.Worksheets.BuiltInDocumentProperties("Author") doc.Value = "John Smith"
Returns a DocumentProperties collection that represents all the custom document properties of the spreadsheet. [C#] excel.Worksheets.CustomDocumentProperties.Add("Checked by", "Jane"); [Visual Basic] excel.Worksheets.CustomDocumentProperties.Add("Checked by", "Jane") Gets and Sets displayed size when Workbook file is used as an Ole object. Null means no ole size setting. Sets displayed size when Workbook file is used as an Ole object. Start row index. End row index. Start column index. End column index. This method is generally used to adjust display size in ppt file or doc file. Represents external links in a workbook. Gets object. Clears pivot tables from the spreadsheet. Represents the options for saving xlsb file. Creates xlsb file save options. Creates xlsb file save options. The save format . It must be xlsb. Represents the save options for the Excel 97-2003 file format: xls and xlt. Creates options for saving Excel 97-2003 xls/xlt file. Creates options for saving Excel 97-2003 xls/xlt file. The file format. It must be xls/xlt. The Data provider to provide cells data for saving workbook in light mode. Indicates whether saving a template file. Represents the options of saving office open xml file. Creates the options for saving office open xml file. Creates the options for saving office open xml file. The file format. It must be xlsx,xltx,xlsm,xltm. Indicates if export cell name to Excel2007 .xlsx (.xlsm, .xltx, .xltm) file. If the output file may be accessed by SQL Server DTS, this value must be true. Setting the value to false will highly increase the performance and reduce the file size when creating large file. Default value is false. The Data provider to provide cells data for saving workbook in light mode. Indicates whether update scaling factor before saving the file if the PageSetup.FitToPagesWide and PageSetup.FitToPagesTall properties control how the worksheet is scaled. The default value is false for permance. Represents Xml map information. Returns or sets the name of the object. A collection of objects that represent XmlMap information. Gets the xml map by the specific index. The index. The xml map