 | Utils Class |
Class Utils.
Inheritance Hierarchy Namespace: QsGemBoxAssembly: QsGemBox (in QsGemBox.dll) Version: 26.4.0.0 (26.4.0.0)
Syntaxpublic static class Utils
Public NotInheritable Class Utils
public ref class Utils abstract sealed
[<AbstractClassAttribute>]
[<SealedAttribute>]
type Utils = class end
The Utils type exposes the following members.
Methods | Name | Description |
---|
  | ComposeParagraph |
Composes the paragraph.
|
  | EnsureStyle |
Ensures the style existence.
|
  | FindParagraphStyleByName |
Finds the paragraph style providing the name.
|
  | FindStyleByName |
Finds thestyle providing the name.
|
  | FixText |
Fixes the text.
|
  | GemboxColorToSystemColor |
Convert from gembox color to system color
|
  | GetSection |
Gets the section.
|
  | GetStyleNames |
Gets the style names.
|
  | InsertPageBreakAfter(DocxParagraph) |
Inserisce un'interruzione di pagina dopo del paragrafo specificato in ingresso.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertPageBreakAfter(DocxTable) |
Inserisce un'interruzione di pagina dopo il parametro specificato in ingresso.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertPageBreakBefore(DocxParagraph) |
Inserisce un'interruzione di pagina prima del paragrafo specificato in ingresso.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertPageBreakBefore(DocxTable) |
Inserisce un'interruzione di pagina prima del parametro specificato in ingresso.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertParagraphAfter |
Inserisce il primo parametro specificato in ingresso immediatamente dopo il secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertParagraphBefore |
Inserisce il primo parametro specificato in ingresso immediatamente prima del secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertTableAfter |
Inserisce il primo parametro specificato in ingresso immediatamente dopo il secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertTableAfterParagraph |
Inserisce il primo parametro specificato in ingresso immediatamente dopo il secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertTableBefore |
Inserisce il primo parametro specificato in ingresso immediatamente prima del secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | InsertTableBeforeParagraph |
Inserisce il primo parametro specificato in ingresso immediatamente prima del secondo parametro.
Ritorna True se l'elemento è stato aggiunto, False altrimenti.
|
  | ParseEnumT |
Parses the enum.
|
  | RemoveField |
Rimuove il campo dal documento.
|
  | ReplaceFieldWithDocument |
Sostituisce il campo inserendo al suo posto tutte le sezioni presenti nel documento specificato come parametro.
Attenzione! Questo metodo esegue una vera e propria sostituzione, NON imposta il valore del campo.
|
  | ReplaceFieldWithString |
Sostituisce il campo inserendo al suo posto la stringa specificata in ingresso (ritorna poi il relativo oggetto DocxRun).
Nota bene: Il seguente metodo riporta nella nuova stringa anche le impostazioni di formato (font, spazi, ecc..) del vecchio campo.
Attenzione! Questo metodo esegue una vera e propria sostituzione, NON imposta il valore del campo.
|
  | SystemColorToGemboxColor |
Convert from system color to gembox color
|
Top
See Also