TXTextControl.TXSheetControl.Server Namespace
The namespace contains the workbook, worksheet, dashboard, pivot-table and document-processing APIs. They ship in the NuGet package TXTextControl.TXSheetControl.Server. All but ServerSheetControl, ServerSheetControlOptions and EngineOptions are in TXTextControl.TXSheetControl.Blazor too, which hosts the same workbook API in the browser.
Classes
| Class | Description |
|---|---|
| ActiveView | The sole integrated workbook viewport, identified by stable sheet or dashboard ID. |
| Analytics | Workbook-wide deterministic data/semantic layer. Query results and profiles are detached values. |
| AnalyticsCalculation | Explicit arithmetic between aggregate aliases; subtract is supported without inventing comparisons. |
| AnalyticsData | Detached tabular snapshot for a direct dashboard connector. Dates use ISO strings. |
| AnalyticsField | Detached field profile. Identifier roles are excluded from automatic totals. |
| AnalyticsFilter | Dashboard-only filter; does not modify worksheet values or AutoFilter state. |
| AnalyticsMeasure | One SUM, COUNT, COUNT DISTINCT, AVG, MIN or MAX result. COUNT may omit Field to count rows. |
| AnalyticsProfile | Source metadata, field types, row count and deterministic ambiguity diagnostics. |
| AnalyticsQuery | Bounded grouped query. Joins are explicit and restricted to unique target keys. |
| AnalyticsRelationship | An explicit many-to-one left join. Nonunique lookup keys reject instead of multiplying aggregates. |
| AnalyticsRelationshipSuggestion | Suggested relationship only; requires explicit review and SetRelationshipAsync before use. |
| AnalyticsResult | Detached grouped rows with scalar JSON values, ordered columns and matching input row count. |
| AnalyticsSort | Stable ordering by a dimension ID or measure alias. |
| AnalyticsSource | A worksheet table/name/range binding or a logical server connector query without a worksheet. |
| Calculation | Shared calculation settling, external documents and formula dependency auditing. |
| Cell | A worksheet-bound cell handle separating literal text, formulas, values, formatting and pictures. |
| CellCoordinates | Zero-based worksheet coordinates, independent of the active sheet. |
| CellData | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| CellHyperlink | Safe external URL or internal cell target; optional display text and tooltip remain portable. |
| CellNote | A legacy Excel note, separate from its threaded conversation; author identity is a simple userName. |
| CellTextRun | Literal text with optional per-run font overrides; offsets follow .NET UTF-16 string indices. |
| CellTextStyle | Font overrides for part of a cell. Omitted fields inherit the cell style. |
| CellTypeDefinition | Portable cell UI settings. Custom renderer callbacks are registered separately and never serialized. |
| CellTypeItem | An interactive-cell choice; value must serialize as a string, finite number or boolean. |
| CellTypes | Registers SVG cell renderers shared with the independent PDF painter. |
| Chart | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| ChartCollection | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| CommentEntry | Authored threaded comment entry. Original UTC timestamps and author names survive import/export. |
| Comments | One cell conversation; new entries use the owner's current userName and preserve original author metadata. |
| CommentThread | Detached conversation anchored to one cell; entries remain ordered and independently editable. |
| CsvLoadOptions | CSV import uses double-quote escaping and accepts CRLF, LF or CR record endings. |
| CsvSaveOptions | UTF-8 CSV output contains every selected row and uses double-quote escaping. |
| CustomFunctionContext | Context for a host calculation callback; do not reenter the control from this callback. |
| CustomFunctionOptions | Custom calculation callback metadata; callbacks are runtime-only and omitted from workbook JSON. |
| Dashboard | Stable dashboard handle. Access fails after deletion or replacement of the owning document. |
| DashboardCollection | Workbook-owned dashboard collection. Changes are undoable and persist through native TXWB save/load. |
| DashboardDateFilter | Persisted date slicer defaults. Values are validated when adding or updating the owning widget. |
| DashboardDefinition | Detached first-class dashboard state persisted with worksheets in the native TXWB document. |
| DashboardGenerationOptions | Deterministic generation controls. Regeneration requires TargetId and explicit merge or replace Strategy. |
| DashboardInteractions | Explicit widget permissions for chart filtering and underlying data access. |
| DashboardLayout | Responsive dashboard geometry in independent 12-column grid units, never worksheet cells. |
| DashboardNumberFormat | Shared Intl-compatible numeric formatting for widget values and labels. |
| DashboardPlacement | Widget placement in dashboard grid units. X is 0..11, width 1..12; height is 1..100. |
| DashboardRenderResult | Detached widget visualization; SVG charts reuse the spreadsheet renderer without an editor UI. |
| DashboardSelection | Worksheet identity and A1 rectangle used for selection-scoped generation. |
| DashboardWidget | Editable dashboard widget definition. Supported types: kpi, line, bar, pie, donut, table, slicer, text. |
| DashboardWidgetAppearance | Portable widget presentation shared by browser and headless rendering. Hex colors use #RRGGBB; font sizes are 8..72 points. |
| Dimension | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| DimensionCollection | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| DocumentObject | Base for sheet-bound handles. Methods perform async I/O; creating cell/range handles performs none. |
| DocumentProperties | Export-only metadata shared by PDF and Excel. Omitted values preserve original XLSX properties. Text is limited to 4096 UTF-16 units. Created and Modified are ISO 8601 timestamps with a timezone. These values never change the workbook or review identity. |
| Drawing | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| DrawingAnchor | An A1 cell anchor with unscaled CSS pixel offsets. |
| DrawingCollection | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| DrawingGroup | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| EmbeddedFont | Owned TrueType bytes and the exact font-face flags used for deterministic document rendering. |
| EngineOptions | Deployment and resource limits for server document operations. |
| FillOptions | Autofill behavior: auto, copy or series. Step is optional and direction uses worksheet axes. |
| FontCatalog | A runtime snapshot shared by browser font loading and independent PDF rendering. |
| FontFaceDefinition | A supported TrueType face with the same content-versioned URL and bytes as server rendering. |
| FontFamilyDefinition | A selectable family named by its OpenType metadata, independent of filenames. |
| FormulaCellReference | A worksheet identity and A1 address returned by precedent/dependent auditing. |
| History | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| JsonSaveOptions | JSON output contains a record array or all selected rows as arrays; no workbook metadata is written. |
| LicenseException | Offline licensing failure with the same stable code as the JavaScript API; never contains the token. |
| LicenseInfo | Detached read-only signed entitlement metadata. Products cannot be mutated to grant authority. |
| LoadOptions | Reusable format-specific load settings, with cancellation supplied separately per operation. |
| LoadResult | Detached conversion notices returned after a successful, atomic document replacement. |
| MailMergeResult | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| MailMergeTemplate | Immutable template. Each merge creates an independently disposable result document. |
| NameCollection | Case-insensitive workbook or worksheet names; every operation uses the same scope as the JS collection. |
| NamedRangeDefinition | Workbook or worksheet-scoped Excel formula name; refersTo retains Excel reference syntax. |
| NamedRangeOptions | Optional descriptive metadata for an explicitly scoped defined name. |
| NativeLoadOptions | Reusable native package budgets in bytes/counts; all unknown entries receive the same limits. |
| NativeSaveOptions | Reusable native save settings. Removing an optional extension also removes its owned entries. |
| NoteBounds | Note geometry in unzoomed CSS pixels. Offsets originate at the owning cell's upper-right corner. |
| ObjectCommand | An opaque queued operation created by a worksheet-bound handle. Add it to a WorkbookBatch. |
| ObjectSize | Unscaled drawing dimensions in CSS pixels, independent of editor zoom. |
| PasteOptions | Controls selective clipboard pasting without changing the source data. |
| PdfOptions | PDF page selection and print context with explicit document fonts and cancellation support. |
| PdfPermissions | Standard reader permissions. Accessibility extraction is always allowed, as required by the PDF standard. |
| PdfSecurityOptions | AES-256 standard security handler revision 6 settings. Export only; never saved in workbook state. |
| PdfViewerPreferences | API-only PDF 1.7 presentation and print hints. Reader software may choose whether to honor them. |
| PictureSource | Embedded image bytes or base64; external image URLs are not downloaded. |
| Protection | Enforced worksheet editing permissions using the same locked-cell styles as the JavaScript editor. |
| ProtectionOptions | Protected-sheet editing permissions; passwords are supplied at runtime and never persisted as clear text. |
| Range | A worksheet-bound rectangular range for atomic reads, writes, formatting and copy operations. |
| SaveOptions | Reusable save settings shared across file and byte destinations. Metadata is export-only. |
| Search | Sparse workbook search and atomic replacement across inputs, formulas, values and displayed text. |
| SearchMatch | Detached search result with sheet identity, A1 address and matched substring bounds. |
| SearchOptions | Sparse search settings shared with JavaScript. Targets are input, formula, value or displayText. |
| ServerSheetControl | Owns an independent spreadsheet document with asynchronous editing, calculation, loading and saving. |
| ServerSheetControlException | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| ServerSheetControlOptions | Document limits, locale and font settings for server spreadsheet operations. |
| SheetCollection | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| SheetPrint | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| SheetProtectionSettings | Detached worksheet protection settings; this is an editing guard rather than file encryption. |
| SheetView | Freeze and split data coordinates without modifying worksheet dimensions or print pagination. |
| SheetViewSettings | Worksheet pane counts and indices; all coordinates are zero-based and preserve stored dimensions. |
| SpreadsheetMLLoadOptions | Reusable XLSX package and projection budgets; byte limits apply before expanding archive data. |
| Table | A table identity bound to one worksheet generation; access fails after deletion or document replacement. |
| TableCollection | Worksheet-bound real Excel tables with workbook-unique names and stable identities. |
| TableColumnDefinition | Named table column with calculated and totals formulas; formulas use the shared JavaScript syntax. |
| TableColumnOptions | Partial named-column update; omitted settings retain the existing column definition. |
| TableDefinition | Detached operational Excel table state; its A1 range includes headers and optional totals. |
| TableOptions | Operational table display and behavior options; omitted members preserve the current settings. |
| TabularLoadOptions | Limits and worksheet settings for UTF-8 tabular imports. A successful import replaces the workbook. |
| TabularSaveOptions | Exports values and calculated formula results from one worksheet without modifying it. |
| Validation | Worksheet data validation, including source lists, constraints, messages and atomic edit enforcement. |
| ValidationFailure | Detached cell validation failure; stop-style violations roll back the entire attempted transaction. |
| ValidationRule | Cell constraints shared with the editor. Types and operators use the same portable strings as JavaScript. |
| Workbook | Asynchronous workbook editing, formatting, calculation, loading and saving. |
| WorkbookBatch | Collects operations locally, then sends one atomic request. Reads occur before creating a batch. |
| WorkbookCommand | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
| WorkbookEventArgs | Detached workbook event context. Cancellation is honored by before-events, Loading and Saving. |
| WorkbookEvents | Typed, synchronous workbook events. Handlers must not call document methods. |
| Worksheet | A handle bound to a worksheet ID and opaque document generation. |
| XlsxExportOptions | Excel export settings. Preservation retains unsupported content and omitted document properties. |
| XlsxWarning | Worksheet-scoped server API contract; requests retain document identity and cancellation semantics. |
Enumerations
| Enumeration | Description |
|---|---|
| StreamType | Document file formats shared with JavaScript. SpreadsheetML is .xlsx; native files use .txwb. |
PivotTable — Operational pivot handle. Calls reject after document replacement or pivot removal.
PivotTableCollection — Workbook-wide or destination-worksheet-scoped PivotTable collection. All mutations are undoable.
PivotAxisField — One row or column field and its presentation.
PivotCalculatedField — Safe formula evaluated for each input record before aggregation.
PivotChartBinding — Worksheet chart whose source follows a PivotTable result.
PivotCollapsedPath — One collapsed grouped axis path.
PivotDestination — Pivot output origin; all cell addresses use A1 notation.
PivotFilter — Report/member, label, aggregate-value or Top/Bottom-N filter.
PivotGrouping — Grouping settings applied before aggregation.
PivotManualGroup — One named member group.
PivotResult — Detached materialized result; paths identify corresponding data rows and column-member groups.
PivotSource — Live worksheet source; supply exactly one range, table identity/name, or named range.
PivotStyle — Portable pivot colors, banding and Excel style identity.
PivotTableDefinition — Detached persisted pivot identity, configuration and result rectangle.
PivotTableOptions — Creation settings shared with JavaScript and TypeScript; settings are validated atomically.
PivotValueField — Aggregation and post-aggregation display settings for one measure.
BarcodeOptions — Native barcode configuration for cell and floating symbols.
BarcodeDrawingOptions — Floating barcode settings, inheriting BarcodeOptions and using ordinary drawing placement.
OpenDocumentSpreadsheetLoadOptions: reusable ODS load settings.
OpenDocumentSpreadsheetSaveOptions: reusable ODS save settings.
Document Font Resources
ISheetControl: the portable asynchronous control contract implemented by browser and native hosts.