Sheetize Namespace

Classi

Nome ClasseDescrizione
EbookConverterConvertitore per la conversione tra ebook e altri formati di file di spreadsheet.
EbookSaveOptionsOpzioni per il salvataggio di .EPUB, .AZW3.
HtmlConverterConvertitore per la conversione tra file html (html, mht, …) e altri formati di file di spreadsheet.
HtmlSaveOptionsOpzioni per il salvataggio di html.
ImageConverterConvertitore per la conversione di file modello in pdf.
ImageSaveOptionsOpzioni per il salvataggio dell’immagine.
JsonConverterConvertitore per la conversione tra dati json e altri formati di file di spreadsheet.
JsonSaveOptionsOpzioni per il salvataggio di json.
LicenseLicenze il prodotto.
LoadOptionsOpzioni per il caricamento di un file modello.
MergerLoadOptionsOpzioni per unire più file.
PdfConverterConvertitore per la conversione di file modello in pdf.
PdfSaveOptionsOpzioni per il salvataggio di pdf.
SaveOptionsOpzioni per il salvataggio di file.
SheetizeExceptionL’eccezione generata quando si verifica un errore specificato da Aspose.Cells.
SplitterSaveOptionsOpzioni per la divisione del file modello.
SpreadsheetConverterConvertitore per la conversione tra diversi formati di file di spreadsheet, come xls, xlsx, xlsb, ods, spreadsheet ml…
SpreadsheetMergerUnisce più file modello in uno.
SpreadsheetSaveOptionsOpzioni per il salvataggio di spreadsheet.
SpreadsheetSplitterDivide il file di spreadsheet in più parti.
SpreadsheetUnlockerSblocca il file di spreadsheet.
TextConverterConvertitore per la conversione tra formati basati su testo (csv, markdown, dif…) e altri formati di file di spreadsheet.
TextSaveOptionsOpzioni per il salvataggio di .SQL, .MD, .CSV, .TSV, .TXT, .XML, .DIF.
UnlockerLoadOptionsOpzioni per sbloccare file excel.

Enum

Nome EnumDescrizione
ExceptionTypeRappresenta il codice del tipo di eccezione personalizzato.
FileFormatTypeRappresenta i formati di file supportati per la conversione.
ImageTypeSpecifica il tipo (formato) di un’immagine.

Sottosezioni di Sheetize Namespace

Class EbookConverter

Informazione

Convertitore per la conversione tra ebook e altri formati di file foglio di calcolo.

public class EbookConverter

Ereditarietà

objectEbookConverter

Membri Ereditati

Esempi

1EbookConverter converter = new EbookConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "MyStory.xlsx";
4EbookSaveOptions saveOptions = new EbookSaveOptions();
5saveOptions.OutputFile = "res.epub";
6converter.Process(loadOptions, saveOptions);

Costruttori

EbookConverter()

public EbookConverter()

Metodi

Process(LoadOptions, EbookSaveOptions)

Converte tra ebook e altri formati di file foglio di calcolo.

public void Process(LoadOptions loadOptions, EbookSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class EbookSaveOptions

Informazione

Opzioni per salvare .EPUB, .AZW3.

public class EbookSaveOptions : SaveOptions  

Ereditarietà

object
SaveOptions
EbookSaveOptions

Membri Ereditati

Costruttori

EbookSaveOptions()

public EbookSaveOptions()  

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }  

Valore della Proprietà

FileFormatType

Namespace: Sheetize
Assembly: Sheetize.dll

Class HtmlConverter

Informazione

Convertitore per la conversione tra file html (html, mht, …) e altri formati di file per fogli di calcolo.

public class HtmlConverter  

Ereditarietà

object
HtmlConverter

Membri Ereditati

Esempi

1  
2
3HtmlConverter converter = new HtmlConverter();  
4LoadOptions loadOptions = new LoadOptions();  
5loadOptions.InputFile = "Template.xlsx";  
6HtmlSaveOptions saveOptions = new HtmlSaveOptions();  
7saveOptions.OutputFile = "res.html";  
8converter.Process(loadOptions, saveOptions);  

Costruttori

HtmlConverter()

public HtmlConverter()  

Metodi

Process(LoadOptions, HtmlSaveOptions)

Converte file tra html e altri formati di file per fogli di calcolo.

public void Process(LoadOptions loadOptions, HtmlSaveOptions saveOptions)  

Parametri

Namespace: Sheetize
Assembly: Sheetize.dll

Class HtmlSaveOptions

Informazione

Opzioni per il salvataggio in html.

public class HtmlSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsHtmlSaveOptions

Membri Eredità

Costruttori

HtmlSaveOptions()

public HtmlSaveOptions()

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }

Valore Proprietà

FileFormatType

Namespace: Sheetize Assembly: Sheetize.dll

Class ImageConverter

Informazione

Converter per convertire il file di modello in pdf.

public class ImageConverter

Inheritance

objectImageConverter

Inherited Members

Examples

 1private class MyImageSaveOptions : ImageSaveOptions
 2{
 3    private const string ResultBase = "result/images/";
 4    public override Stream GetStream(int pageIndex)
 5    {
 6        return File.Create(ResultBase + "res_" + pageIndex + ".png");
 7    }
 8}
 9ImageConverter converter = new ImageConverter();
10LoadOptions loadOptions = new LoadOptions();
11loadOptions.InputFile = "Template.xlsx";
12ImageSaveOptions saveOptions = new MyImageSaveOptions();
13converter.Process(loadOptions, saveOptions);

Constructors

ImageConverter()

public ImageConverter()

Methods

Process(LoadOptions, ImageSaveOptions)

Converte il file di modello in immagini

public void Process(LoadOptions loadOptions, ImageSaveOptions saveOptions)

Parameters

Namespace: Sheetize Assembly: Sheetize.dll

Class ImageSaveOptions

Informazione

Opzioni per il salvataggio delle immagini.

public class ImageSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsImageSaveOptions

Membri ereditati

Costruttori

ImageSaveOptions()

public ImageSaveOptions()

Proprietà

HorizontalResolution

Ottiene o imposta la risoluzione orizzontale per le immagini generate, in punti per pollice.

public int HorizontalResolution { get; set; }

Valore della proprietà

int

Note

Il valore predefinito è 96.

Impostare Sheetize.ImageSaveOptions.HorizontalResolution e Sheetize.ImageSaveOptions.VerticalResolution influisce sulla larghezza e sull'altezza dell'immagine di output in pixel.

ImageType

Ottiene o imposta il formato delle immagini generate. Il valore predefinito è Sheetize.ImageType.Png.

public ImageType ImageType { get; set; }

Valore della proprietà

ImageType

OnePagePerSheet

Se OnePagePerSheet è vero, tutto il contenuto di un foglio verrà esportato su una sola pagina nel risultato. Le dimensioni della carta definite da PageSetup verranno ignorate, ma altre impostazioni di PageSetup avranno comunque effetto.

public bool OnePagePerSheet { get; set; }

Valore della proprietà

bool

VerticalResolution

Ottiene o imposta la risoluzione verticale per le immagini generate, in punti per pollice.

public int VerticalResolution { get; set; }

Valore della proprietà

int

Note

Il valore predefinito è 96.

Impostare Sheetize.ImageSaveOptions.HorizontalResolution e Sheetize.ImageSaveOptions.VerticalResolution influisce sulla larghezza e sull'altezza dell'immagine di output in pixel.

Metodi

Finish(Stream)

Termina la scrittura dei dati nello stream.
Per impostazione predefinita, questo metodo chiude semplicemente lo stream direttamente (inclusa la situazione in cui lo stream è quello specificato da Sheetize.SaveOptions.OutputStream).
L’utente può sovrascrivere questo metodo per controllare come rilasciare le risorse, secondo le proprie esigenze e l’implementazione di Sheetize.ImageSaveOptions.GetStream(System.Int32).

public virtual void Finish(Stream stream)

Parametri

  • stream Stream: lo stream che ha completato il proprio compito (salvataggio dei dati in)

GetStream(int)

Ottiene lo stream per salvare l’immagine.

public virtual Stream GetStream(int pageIndex)

Parametri

  • pageIndex int: la pagina da rendere come immagine

Restituisce

Stream : Stream per scrivere l’immagine generata.

Note

Per impostazione predefinita, se Sheetize.SaveOptions.OutputStream è stato specificato e ha effetto, allora questo metodo restituisce sempre lo Stream specificato. L’utente dovrebbe sovrascrivere questo metodo nella propria implementazione di questa classe per fornire oggetti Stream diversi e appropriati per l’output di più pagine.
Se Sheetize.SaveOptions.OutputFile è stato specificato e ha effetto, se c’è solo una pagina di immagine, allora il percorso specificato (file) verrà utilizzato direttamente come output; altrimenti, l’indice della pagina verrà aggiunto al nome del file e quindi verrà restituito lo FileStream costruito dal file. Ad esempio, se il percorso di output è specificato come res.png, allora le immagini generate saranno res0.png, res1.png, …

Namespace: Sheetize Assembly: Sheetize.dll

Class JsonConverter

Informazione

Convertitore per la conversione tra dati json e altri formati di file per fogli di calcolo.

public class JsonConverter  

Inheritance

object
JsonConverter

Inherited Members

Examples

1  
2
3JsonConverter converter = new JsonConverter();  
4LoadOptions loadOptions = new LoadOptions();  
5loadOptions.InputFile = "data.json";  
6JsonSaveOptions saveOptions = new JsonSaveOptions();  
7saveOptions.OutputFile = "res.xlsx";  
8converter.Process(loadOptions, saveOptions);  

Constructors

JsonConverter()

public JsonConverter()  

Methods

Process(LoadOptions, JsonSaveOptions)

Converte tra dati json e altri formati di file per fogli di calcolo.

public void Process(LoadOptions loadOptions, JsonSaveOptions saveOptions)  

Parameters

  • loadOptions LoadOptions: Opzioni per l’input e il caricamento:
  • saveOptions JsonSaveOptions: Opzioni per l’output e il salvataggio

Namespace: Sheetize
Assembly: Sheetize.dll

Class JsonSaveOptions

Informazione

Opzioni per il salvataggio del json.

public class JsonSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsJsonSaveOptions

Membri ereditati

Costruttori

JsonSaveOptions()

public JsonSaveOptions()

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }

Valore della proprietà

FileFormatType

Namespace: Sheetize Assembly: Sheetize.dll

Class License

Informazione

Licenza del prodotto.

public class License

Ereditarietà

objectLicense

Membri Ereditati

Esempi

1Sheetize.License license = new Sheetize.License();
2license.SetLicense("mylic.lic");

Costruttori

License()

public License()

Metodi

SetLicense(Stream)

Licenzia il prodotto tramite il Stream che fornisce i dati di licenza.

public void SetLicense(Stream stream)

Parametri

SetLicense(string)

Licenzia il prodotto tramite il file di licenza.

public void SetLicense(string licenseName)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class LoadOptions

Informazione

Opzioni per caricare il file di template.

public class LoadOptions

Ereditarietà

objectLoadOptions

Derivato

Membri Ereditati

Costruttori

LoadOptions()

public LoadOptions()

Proprietà

InputFile

Ottiene e imposta il file (con il percorso se necessario) del template.

public string InputFile { get; set; }

Valore della Proprietà

string

Osservazioni

Quando si imposta un percorso non nullo e non vuoto a questa proprietà, il valore precedentemente impostato per Sheetize.LoadOptions.InputStream sarà ignorato.

InputStream

Ottiene e imposta il flusso del template.

public Stream InputStream { get; set; }

Valore della Proprietà

Stream

Osservazioni

Quando si imposta uno Stream non nullo a questa proprietà, il valore precedentemente impostato per Sheetize.LoadOptions.InputFile sarà ignorato.

Namespace: Sheetize Assembly: Sheetize.dll

Class MergerLoadOptions

Informazione

Opzioni per unire più file.

public class MergerLoadOptions : LoadOptions

Ereditarietà

objectLoadOptionsMergerLoadOptions

Membri Ereditati

Costruttori

MergerLoadOptions()

public MergerLoadOptions()

Proprietà

InputStreamEnumerator

Ottiene/imposta gli stream di input da cui caricare dati e unire.

public IEnumerator InputStreamEnumerator { get; set; }

Valore della Proprietà

IEnumerator

Metodi

Finish(Stream)

Termina il caricamento dei dati dallo stream (ottenuto da Sheetize.MergerLoadOptions.InputStreamEnumerator).
Per impostazione predefinita, questo metodo chiude direttamente lo stream
L’utente può sovrascrivere questo metodo per controllare come rilasciare le risorse secondo le proprie necessità e l’implementazione di Sheetize.MergerLoadOptions.InputStreamEnumerator.

public virtual void Finish(Stream stream)

Parametri

  • stream Stream: lo stream che ha completato il proprio compito (salvare i dati a)

Namespace: Sheetize Assembly: Sheetize.dll

Class PdfConverter

Informazione

Convertitore per convertire file di modelli in pdf.

public class PdfConverter

Eredità

objectPdfConverter

Membri ereditati

Esempi

1PdfConverter converter = new PdfConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.xlsx";
4PdfSaveOptions saveOptions = new PdfSaveOptions();
5saveOptions.OutputFile = "res.pdf";
6converter.Process(loadOptions, saveOptions);

Costruttori

PdfConverter()

public PdfConverter()

Metodi

Process(LoadOptions, PdfSaveOptions)

Converte il file di modello in pdf

public void Process(LoadOptions loadOptions, PdfSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class PdfSaveOptions

Informazione

Opzioni per il salvataggio in pdf.

public class PdfSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsPdfSaveOptions

Membri Ereditati

Costruttori

PdfSaveOptions()

public PdfSaveOptions()

Namespace: Sheetize Assembly: Sheetize.dll

Class SaveOptions

Informazione

Opzioni per il salvataggio del file.

public class SaveOptions  

Inheritance

object
SaveOptions

Derived

Inherited Members

Constructors

SaveOptions()

public SaveOptions()  

Properties

OutputFile

Gets and sets the file(with path if needed) for saving the generated data.
When setting this property with value other than null or empty string, Sheetize.SaveOptions.OutputStream will be ignored.

public string OutputFile { get; set; }  

Property Value

string

OutputStream

Gets and sets the Stream for writing the generated data to.
When setting this property with value other than null, Sheetize.SaveOptions.OutputFile will be ignored.

public Stream OutputStream { get; set; }  

Property Value

Stream

Namespace: Sheetize
Assembly: Sheetize.dll

Class SheetizeException

Informazione

L’eccezione che viene sollevata quando si verifica un errore specificato di Aspose.Cells.

public class SheetizeException : ApplicationException, ISerializable, _Exception  

Ereditarietà

object
Exception
ApplicationException
SheetizeException

Implementa

Membri Ereditati

Proprietà

Codice

Rappresenta il codice dell’eccezione personalizzata.

public ExceptionType Code { get; }  

Valore della Proprietà

ExceptionType

Namespace: Sheetize
Assembly: Sheetize.dll

Class SplitterSaveOptions

Informazione

Opzioni per dividere il file di modello.

public class SplitterSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsSplitterSaveOptions

Membri Ereditati

Costruttori

SplitterSaveOptions()

public SplitterSaveOptions()

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }

Valore della Proprietà

FileFormatType

Metodi

Finish(Stream)

Completa la scrittura dei dati nello stream.
Per impostazione predefinita, questo metodo chiude direttamente lo stream (inclusa la situazione in cui lo stream è quello specificato da Sheetize.SaveOptions.OutputStream).
L’utente può sovrascrivere questo metodo per controllare come rilasciare le risorse secondo le proprie esigenze e l’implementazione di Sheetize.SplitterSaveOptions.GetStream(System.Int32).

public virtual void Finish(Stream stream)

Parametri

  • stream Stream: lo stream che ha completato il suo task (salvataggio dei dati).

GetStream(int)

Ottiene lo stream per salvare la parte divisa.

public virtual Stream GetStream(int sn)

Parametri

  • sn int: il numero di sequenza della parte divisa, indicizzato da 0.

Restituisce

Stream : Stream su cui scrivere la parte divisa.

Osservazioni

Per impostazione predefinita, se Sheetize.SaveOptions.OutputStream è stato specificato e ha effetto, questo metodo restituisce sempre lo Stream specificato. L’utente dovrebbe sovrascrivere questo metodo nella propria implementazione di questa classe per fornire oggetti Stream diversi e appropriati per l’output di più parti.
Se Sheetize.SaveOptions.OutputFile è stato specificato e ha effetto, allora il numero di sequenza verrà aggiunto al nome del file e poi restituirà il FileStream costruito dal file. Ad esempio, se il percorso di output è specificato come res.xlsx, allora i file generati saranno res0.xlsx, res1.xlsx,…

Namespace: Sheetize Assembly: Sheetize.dll

Class SpreadsheetConverter

Informazione

Convertitore per la conversione tra diversi formati di file di fogli di calcolo, come xls, xlsx, xlsb, ods, spreadsheet ml…

public class SpreadsheetConverter  

Ereditarietà

object
SpreadsheetConverter

Membri ereditati

Esempi

1  
2
3SpreadsheetConverter converter = new SpreadsheetConverter();  
4LoadOptions loadOptions = new LoadOptions();  
5loadOptions.InputFile = "Template.xlsx";  
6SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();  
7saveOptions.OutputFile = "res.xlsb";  
8converter.Process(loadOptions, saveOptions);  

Costruttori

SpreadsheetConverter()

public SpreadsheetConverter()  

Metodi

Process(LoadOptions, SpreadsheetSaveOptions)

Converte tra diversi formati di file di fogli di calcolo.

public void Process(LoadOptions loadOptions, SpreadsheetSaveOptions saveOptions)  

Parametri

Namespace: Sheetize
Assembly: Sheetize.dll

Class SpreadsheetMerger

Informazione

Unisce più file di template in uno.

public class SpreadsheetMerger

Ereditarietà

objectSpreadsheetMerger

Membri Ereditati

Esempi

1SpreadsheetMerger merger = new SpreadsheetMerger();
2MergerLoadOptions loadOptions = new MergerLoadOptions();
3ArrayList list = new ArrayList();
4list.Add(File.OpenRead("template1.xlsx"));
5list.Add(File.OpenRead("template2.ods"));
6loadOptions.InputStreamEnumerator = list.GetEnumerator();
7SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();
8saveOptions.OutputFile = "res.xlsx";
9merger.Process(loadOptions, saveOptions);

Costruttori

SpreadsheetMerger()

public SpreadsheetMerger()

Metodi

Process(MergerLoadOptions, SpreadsheetSaveOptions)

public void Process(MergerLoadOptions loadOptions, SpreadsheetSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class SpreadsheetSaveOptions

Informazione

Opzioni per il salvataggio del foglio di calcolo.

public class SpreadsheetSaveOptions : SaveOptions

Ereditarietà

objectSaveOptionsSpreadsheetSaveOptions

Membri Eredidati

Costruttori

SpreadsheetSaveOptions()

public SpreadsheetSaveOptions()

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }

Valore della Proprietà

FileFormatType

Namespace: Sheetize Assembly: Sheetize.dll

Class SpreadsheetSplitter

Informazione

Divide il file del foglio di calcolo in più parti.

public class SpreadsheetSplitter

Ereditarietà

objectSpreadsheetSplitter

Membri ereditati

Esempi

 1private class MySplitterSaveOptions : SplitterSaveOptions
 2{
 3    private const string ResultBase = "result/splitter/";
 4    public override Stream GetStream(int sn)
 5    {
 6        return File.Create(ResultBase + "part_" + sn + ".xlsx");
 7    }
 8}
 9SpreadsheetSplitter splitter = new SpreadsheetSplitter();
10LoadOptions loadOptions = new LoadOptions();
11loadOptions.InputFile = "Template.xlsx";
12MySplitterSaveOptions saveOptions = new MySplitterSaveOptions();
13splitter.Process(loadOptions, saveOptions);

Costruttori

SpreadsheetSplitter()

public SpreadsheetSplitter()

Metodi

Process(LoadOptions, SplitterSaveOptions)

public void Process(LoadOptions loadOptions, SplitterSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class SpreadsheetUnlocker

Informazione

Sblocca il file del foglio di calcolo.

public class SpreadsheetUnlocker

Ereditarietà

objectSpreadsheetUnlocker

Membri ereditati

Esempi

1SpreadsheetUnlocker processor = new SpreadsheetUnlocker();
2UnlockerLoadOptions loadOptions = new UnlockerLoadOptions();
3loadOptions.InputFile = "Template.xlsx";
4loadOptions.Password = "password per aprire il file";
5SpreadsheetSaveOptions saveOptions = new SpreadsheetSaveOptions();
6saveOptions.OutputFile = "res.xlsx";
7processor.Process(loadOptions, saveOptions);

Costruttori

SpreadsheetUnlocker()

public SpreadsheetUnlocker()

Metodi

Process(UnlockerLoadOptions, SpreadsheetSaveOptions)

public void Process(UnlockerLoadOptions loadOptions, SpreadsheetSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class TextConverter

Informazione

Converter per la conversione tra formati di testo (csv, markdown, dif…) e altri formati di file di fogli di calcolo.

public class TextConverter

Ereditarietà

objectTextConverter

Membri Ereditati

Esempi

1TextConverter converter = new TextConverter();
2LoadOptions loadOptions = new LoadOptions();
3loadOptions.InputFile = "Template.csv";
4TextSaveOptions saveOptions = new TextSaveOptions();
5saveOptions.OutputFile = "res.xlsx";
6converter.Process(loadOptions, saveOptions);

Costruttori

TextConverter()

public TextConverter()

Metodi

Process(LoadOptions, TextSaveOptions)

Converte il formato del file tra formati di testo e altri formati di file di fogli di calcolo

public void Process(LoadOptions loadOptions, TextSaveOptions saveOptions)

Parametri

Namespace: Sheetize Assembly: Sheetize.dll

Class TextSaveOptions

Informazione

Opzioni per il salvataggio di .SQL, .MD, .CSV, .TSV, .TXT, .XML, .DIF.

public class TextSaveOptions : SaveOptions

Ereditarietà

oggettoSaveOptionsTextSaveOptions

Membri Ereditati

Costruttori

TextSaveOptions()

public TextSaveOptions()

Proprietà

SaveFormat

Ottiene e imposta il formato del foglio di calcolo.

public FileFormatType SaveFormat { get; set; }

Valore della Proprietà

FileFormatType

Namespace: Sheetize Assembly: Sheetize.dll

Class UnlockerLoadOptions

Informazione

Opzioni per sbloccare i file excel.

public class UnlockerLoadOptions : LoadOptions

Ereditarietà

objectLoadOptionsUnlockerLoadOptions

Membri Ereditati

Costruttori

UnlockerLoadOptions()

public UnlockerLoadOptions()

Proprietà

Password

Password per aprire il file.

public string Password { get; set; }

Valore della Proprietà

string

PasswordToModify

Password per modificare il file.

public string PasswordToModify { get; set; }

Valore della Proprietà

string

PasswordToUnprotectWorkbook

Password per rimuovere la protezione del workbook.

public string PasswordToUnprotectWorkbook { get; set; }

Valore della Proprietà

string

PasswordToUnprotectWorksheet

Password per rimuovere la protezione del foglio di lavoro.

public string PasswordToUnprotectWorksheet { get; set; }

Valore della Proprietà

string

Namespace: Sheetize Assembly: Sheetize.dll

Enum ExceptionType

Informazione

Rappresenta un codice di tipo di eccezione personalizzato.

public enum ExceptionType  

Fields

  • DataType = 0: Tipo di dato non valido.
  • FileCorrupted = 13: Il contenuto del file è corrotto.
  • FileFormat = 1: Formato di file non valido.
  • IO = 8: Il file non è valido.
  • IncorrectPassword = 4: Password errata.
  • Interrupted = 7: Il processo è stato interrotto.
  • InvalidData = 2: Dati non validi.
  • InvalidOperator = 3: Operatore non valido.
  • License = 5: Errori relativi alla licenza.
  • Limitation = 6: Errore di superamento delle limitazioni di MS Excel.
  • Permission = 9: È necessaria l’autorizzazione per aprire questo file.
  • UndisclosedInformation = 12: I file contengono alcune informazioni riservate.
  • UnsupportedFeature = 10: Funzione non supportata.
  • UnsupportedStream = 11: Stream non supportato da aprire.

Namespace: Sheetize
Assembly: Sheetize.dll

Enum FileFormatType

Informazione

Rappresenta i formati di file supportati per la conversione.

public enum FileFormatType

Fields

  • Auto = 0: Se si salva il file su disco, il formato del file corrisponde all’estensione del nome del file. Se si salva il file su stream, il formato del file è xlsx.
  • Azw3 = 773: Rappresenta un file Azw3.
  • Bmp = 263: Windows Bitmap
  • Csv = 1: File di testo con valori separati da virgola (CSV).
  • Dif = 30: Formato di interscambio dati.
  • Docx = 62: Rappresenta un file .docx.
  • Emf = 258: Windows Enhanced Metafile.
  • Epub = 772: Rappresenta un file Epub.
  • Excel97To2003 = 5: Rappresenta un file Excel97-2003 xls.
  • Fods = 59: Rappresenta il formato di file OpenDocument Flat XML Spreadsheet (.fods).
  • Gif = 322: Gif
  • Html = 12: Rappresenta un file html.
  • Jpg = 261: JPEG JFIF.
  • Json = 513: Json
  • MHtml = 17: Rappresenta un file mhtml.
  • Markdown = 57: Rappresenta un documento markdown.
  • Numbers = 56: Rappresenta un file numeri. Non supportato.
  • Ods = 14: File Open Document Sheet(ODS).
  • Ots = 31: File Open Document Template Sheet(OTS).
  • Pdf = 13: Rappresenta un file Pdf.
  • Png = 262: Portable Network Graphics.
  • Pptx = 61: Rappresenta un file .pptx.
  • SpreadsheetML = 15: Rappresenta un file xml di Excel 2003.
  • SqlScript = 514: Sql
  • Svg = 28: File SVG.
  • Sxc = 60: Rappresenta il formato di file StarOffice Calc Spreadsheet (.sxc).
  • TabDelimited = 11: Rappresenta un file di testo delimitato da tabulazioni, lo stesso di Sheetize.FileFormatType.Tsv.
  • Tiff = 21: Rappresenta un file TIFF.
  • Tsv = 11: File di testo con valori separati da tabulazioni (TSV).
  • Unknown = 255: Rappresenta un formato non riconosciuto, non può essere salvato.
  • XHtml = 771: Rappresenta un file XHtml.
  • Xlam = 10: Rappresenta un file xltm che abilita le macro degli add-in.
  • Xlsb = 16: Rappresenta un file xlsb.
  • Xlsm = 7: Rappresenta un file xlsm che abilita le macro.
  • Xlsx = 6: Rappresenta un file xlsx.
  • Xlt = 32: File di template di Excel 97-2003.
  • Xltm = 9: Rappresenta un file xltm che abilita le macro.
  • Xltx = 8: Rappresenta un file xltx.
  • Xml = 51: Rappresenta un semplice file xml.
  • Xps = 20: Formato XPS (XML Paper Specification).

Namespace: Sheetize Assembly: Sheetize.dll

Enum ImageType

Informazione

Specifica il tipo (formato) di un’immagine.

public enum ImageType

Fields

  • Bmp = 7: Windows Bitmap
  • Emf = 2: Windows Enhanced Metafile.
  • Gif = 66: Gif
  • Jpeg = 5: JPEG JFIF.
  • OfficeCompatibleEmf = 71: Windows Enhanced Metafile che è più compatibile con Office.
  • Pict = 4: Macintosh PICT.
  • Png = 6: Portable Network Graphics.
  • Svg = 68: Svg
  • Svm = 69: Svm
  • Tiff = 67: Tiff
  • Unknown = 0: Un tipo di immagine sconosciuto.
  • WebP = 72: Formato immagine Weppy
  • Wmf = 3: Windows Metafile.

Namespace: Sheetize Assembly: Sheetize.dll

 Italiano